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

Commit

Permalink
Remove unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston committed Dec 6, 2019
1 parent 8b77fc6 commit e216ec3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .buildkite/postgres-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Configuration file used for testing the 'synapse_port_db' script.
# Tells the script to connect to the postgresql database that will be available in the
# CI's Docker setup at the point where this file is considered.
server_name: "test"
server_name: "localhost:8080"

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

Expand Down
2 changes: 1 addition & 1 deletion .buildkite/sqlite-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Configuration file used for testing the 'synapse_port_db' script.
# Tells the 'update_database' script to connect to the test SQLite database to upgrade its
# schema and run background updates on it.
server_name: "test"
server_name: "localhost:8080"

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

Expand Down
2 changes: 0 additions & 2 deletions synapse/storage/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,6 @@ def __init__(self, hs):
self._check_safe_to_upsert,
)

self.rand = random.SystemRandom()

@defer.inlineCallbacks
def _check_safe_to_upsert(self):
"""
Expand Down

0 comments on commit e216ec3

Please sign in to comment.