Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit e216ec3

Browse files
committed
Remove unused var
1 parent 8b77fc6 commit e216ec3

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

.buildkite/postgres-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Configuration file used for testing the 'synapse_port_db' script.
22
# Tells the script to connect to the postgresql database that will be available in the
33
# CI's Docker setup at the point where this file is considered.
4-
server_name: "test"
4+
server_name: "localhost:8080"
55

66
signing_key_path: "/src/.buildkite/test.signing.key"
77

.buildkite/sqlite-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Configuration file used for testing the 'synapse_port_db' script.
22
# Tells the 'update_database' script to connect to the test SQLite database to upgrade its
33
# schema and run background updates on it.
4-
server_name: "test"
4+
server_name: "localhost:8080"
55

66
signing_key_path: "/src/.buildkite/test.signing.key"
77

synapse/storage/database.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,6 @@ def __init__(self, hs):
256256
self._check_safe_to_upsert,
257257
)
258258

259-
self.rand = random.SystemRandom()
260-
261259
@defer.inlineCallbacks
262260
def _check_safe_to_upsert(self):
263261
"""

0 commit comments

Comments
 (0)