summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <daniel@matrix.org>2015-08-20 17:26:52 +0100
committerDaniel Wagner-Hall <daniel@matrix.org>2015-08-20 17:26:52 +0100
commit8c74bd896010c6011a63bc7147e39e0078df7dcb (patch)
tree968dbd6622cd5d275c2099c8b01c269b576e57be
parentFix flake8 warnings (diff)
downloadsynapse-8c74bd896010c6011a63bc7147e39e0078df7dcb.tar.xz
Fix indentation
Diffstat (limited to '')
-rw-r--r--synapse/handlers/auth.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/handlers/auth.py b/synapse/handlers/auth.py
index 1b0971e13d..e043363176 100644
--- a/synapse/handlers/auth.py
+++ b/synapse/handlers/auth.py
@@ -321,7 +321,8 @@ class AuthHandler(BaseHandler):
         macaroon = pymacaroons.Macaroon(
             location=self.hs.config.server_name,
             identifier="key",
-            key=self.hs.config.macaroon_secret_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")