diff options
author | Mark Haines <mark.haines@matrix.org> | 2014-10-30 11:15:39 +0000 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2014-10-30 11:15:39 +0000 |
commit | 7a756e5d9d4c5a636d13b0959b72bc4d1518c5be (patch) | |
tree | 96954a997d5b1d7095a0a8aa19a1f5a69823ff6c /synapse/app | |
parent | Merge branch 'develop' into request_logging (diff) | |
download | synapse-7a756e5d9d4c5a636d13b0959b72bc4d1518c5be.tar.xz |
Remove unused 'context' variables to appease pyflakes
Diffstat (limited to 'synapse/app')
-rwxr-xr-x | synapse/app/homeserver.py | 4 |
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__': |