diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-09-18 09:56:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-18 09:56:44 -0400 |
commit | 8a4a4186ded34bab1ffb4ee1cebcb476890da207 (patch) | |
tree | 5e2979552403745d47ec76736061eec5e98ed0a5 /synapse/storage/databases/main/account_data.py | |
parent | Allow appservice users to /login (#8320) (diff) | |
download | synapse-8a4a4186ded34bab1ffb4ee1cebcb476890da207.tar.xz |
Simplify super() calls to Python 3 syntax. (#8344)
This converts calls like super(Foo, self) -> super(). Generated with: sed -i "" -Ee 's/super\([^\(]+\)/super()/g' **/*.py
Diffstat (limited to 'synapse/storage/databases/main/account_data.py')
-rw-r--r-- | synapse/storage/databases/main/account_data.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/databases/main/account_data.py b/synapse/storage/databases/main/account_data.py index 5f1a2b9aa6..c5a36990e4 100644 --- a/synapse/storage/databases/main/account_data.py +++ b/synapse/storage/databases/main/account_data.py @@ -42,7 +42,7 @@ class AccountDataWorkerStore(SQLBaseStore, metaclass=abc.ABCMeta): "AccountDataAndTagsChangeCache", account_max ) - super(AccountDataWorkerStore, self).__init__(database, db_conn, hs) + super().__init__(database, db_conn, hs) @abc.abstractmethod def get_max_account_data_stream_id(self): @@ -313,7 +313,7 @@ class AccountDataStore(AccountDataWorkerStore): ], ) - super(AccountDataStore, self).__init__(database, db_conn, hs) + super().__init__(database, db_conn, hs) def get_max_account_data_stream_id(self) -> int: """Get the current max stream id for the private user data stream |