summary refs log tree commit diff
path: root/synapse/handlers/register.py
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <daniel@matrix.org>2015-08-20 17:10:10 +0100
committerDaniel Wagner-Hall <daniel@matrix.org>2015-08-20 17:10:10 +0100
commit225c244aba30ec7cc465395dc732785bc2969134 (patch)
tree3097406bf9bcae62e0d3c2d16476bb525764a59d /synapse/handlers/register.py
parentMerge branch 'develop' into auth (diff)
downloadsynapse-225c244aba30ec7cc465395dc732785bc2969134.tar.xz
Remove incorrect whitespace
Diffstat (limited to '')
-rw-r--r--synapse/handlers/register.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/handlers/register.py b/synapse/handlers/register.py
index c391c1bdf5..1adc3eebbb 100644
--- a/synapse/handlers/register.py
+++ b/synapse/handlers/register.py
@@ -275,9 +275,9 @@ class RegistrationHandler(BaseHandler):
 
     def generate_token(self, user_id):
         macaroon = pymacaroons.Macaroon(
-            location = self.hs.config.server_name,
-            identifier = "key",
-            key = self.hs.config.macaroon_secret_key)
+            location=self.hs.config.server_name,
+            identifier="key",
+            key=self.hs.config.macaroon_secret_key)
         macaroon.add_first_party_caveat("gen = 1")
         macaroon.add_first_party_caveat("user_id = %s" % (user_id,))
         macaroon.add_first_party_caveat("type = access")