summary refs log tree commit diff
path: root/synapse/app
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2014-10-30 11:15:39 +0000
committerMark Haines <mark.haines@matrix.org>2014-10-30 11:15:39 +0000
commit7a756e5d9d4c5a636d13b0959b72bc4d1518c5be (patch)
tree96954a997d5b1d7095a0a8aa19a1f5a69823ff6c /synapse/app
parentMerge branch 'develop' into request_logging (diff)
downloadsynapse-7a756e5d9d4c5a636d13b0959b72bc4d1518c5be.tar.xz
Remove unused 'context' variables to appease pyflakes
Diffstat (limited to 'synapse/app')
-rwxr-xr-xsynapse/app/homeserver.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py
index 4e74f4d14c..17926be88c 100755
--- a/synapse/app/homeserver.py
+++ b/synapse/app/homeserver.py
@@ -252,11 +252,11 @@ def setup():
         reactor.run()
 
 def run():
-    with LoggingContext("run") as context:
+    with LoggingContext("run"):
         reactor.run()
 
 def main():
-    with LoggingContext("main") as context:
+    with LoggingContext("main"):
         setup()
 
 if __name__ == '__main__':