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/config/registration.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/config/registration.py')
-rw-r--r-- | synapse/config/registration.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/registration.py b/synapse/config/registration.py index a185655774..5ffbb934fe 100644 --- a/synapse/config/registration.py +++ b/synapse/config/registration.py @@ -30,7 +30,7 @@ class AccountValidityConfig(Config): def __init__(self, config, synapse_config): if config is None: return - super(AccountValidityConfig, self).__init__() + super().__init__() self.enabled = config.get("enabled", False) self.renew_by_email_enabled = "renew_at" in config |