summary refs log tree commit diff
path: root/synapse/_scripts/synapse_port_db.py
diff options
context:
space:
mode:
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2025-05-20 15:23:30 +0100
committerGitHub <noreply@github.com>2025-05-20 15:23:30 +0100
commit9d43bec3268d9a454fe992f25edfc013a50fb9cc (patch)
tree5d4b9439ff14b83ce352c829a83097d9ffe034a1 /synapse/_scripts/synapse_port_db.py
parentUpdate postgres.md (#18445) (diff)
downloadsynapse-9d43bec3268d9a454fe992f25edfc013a50fb9cc.tar.xz
Bump ruff from 0.7.3 to 0.11.10 (#18451)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrew Morgan <andrew@amorgan.xyz>
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
Diffstat (limited to 'synapse/_scripts/synapse_port_db.py')
-rwxr-xr-xsynapse/_scripts/synapse_port_db.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/_scripts/synapse_port_db.py b/synapse/_scripts/synapse_port_db.py

index 438b2ff8a0..573c70696e 100755 --- a/synapse/_scripts/synapse_port_db.py +++ b/synapse/_scripts/synapse_port_db.py
@@ -1065,7 +1065,7 @@ class Porter: def get_sent_table_size(txn: LoggingTransaction) -> int: txn.execute( - "SELECT count(*) FROM sent_transactions" " WHERE ts >= ?", (yesterday,) + "SELECT count(*) FROM sent_transactions WHERE ts >= ?", (yesterday,) ) result = txn.fetchone() assert result is not None