summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2016-07-26 11:59:08 +0100
committerRichard van der Hoff <richard@matrix.org>2016-07-26 11:59:08 +0100
commit05e7e5e972446b639997f0ea461c2eea39617342 (patch)
treea766911570e43e0426f7f11e187641118906ad24 /synapse
parentFix flake8 configuration (diff)
downloadsynapse-05e7e5e972446b639997f0ea461c2eea39617342.tar.xz
Fix flake8 violation
Apparently flake8 v3 puts the error on a different line to v2. Easiest way to
make sure that happens is by putting the whole statement on one line :)
Diffstat (limited to 'synapse')
-rw-r--r--synapse/app/__init__.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/synapse/app/__init__.py b/synapse/app/__init__.py
index 1bc4279807..9c2b627590 100644
--- a/synapse/app/__init__.py
+++ b/synapse/app/__init__.py
@@ -16,13 +16,11 @@
 import sys
 sys.dont_write_bytecode = True
 
-from synapse.python_dependencies import (
-    check_requirements, MissingRequirementError
-)  # NOQA
+from synapse import python_dependencies   # noqa: E402
 
 try:
-    check_requirements()
-except MissingRequirementError as e:
+    python_dependencies.check_requirements()
+except python_dependencies.MissingRequirementError as e:
     message = "\n".join([
         "Missing Requirement: %s" % (e.message,),
         "To install run:",