summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-03-26 12:06:48 +0100
committerErik Johnston <erik@matrix.org>2018-03-26 12:06:48 +0100
commit44cd6e135806387552bab5cf7e8be256d53632b6 (patch)
treedf701c4c42af3ea31399b1381201011e71e83c4e /synapse
parentDon't use _cursor_to_dict in find_next_generated_user_id_localpart (diff)
downloadsynapse-44cd6e135806387552bab5cf7e8be256d53632b6.tar.xz
PEP8
Diffstat (limited to '')
-rw-r--r--synapse/handlers/register.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/handlers/register.py b/synapse/handlers/register.py
index d07a8801de..f1bf81ed7d 100644
--- a/synapse/handlers/register.py
+++ b/synapse/handlers/register.py
@@ -46,7 +46,9 @@ class RegistrationHandler(BaseHandler):
 
         self.macaroon_gen = hs.get_macaroon_generator()
 
-        self._generate_user_id_linearizer = Linearizer(name="_generate_user_id_linearizer")
+        self._generate_user_id_linearizer = Linearizer(
+            name="_generate_user_id_linearizer",
+        )
 
     @defer.inlineCallbacks
     def check_username(self, localpart, guest_access_token=None,