summaryrefslogtreecommitdiff
path: root/service/pixelated
diff options
context:
space:
mode:
authorDuda Dornelles <ddornell@thoughtworks.com>2014-10-23 16:17:12 +0200
committerDuda Dornelles <ddornell@thoughtworks.com>2014-10-23 16:17:12 +0200
commit1ae0823828e45b16b8788c78011346ef7316545e (patch)
tree6b21a6828cd4369eb34939f506bd7cf87ac338c6 /service/pixelated
parent97b79a86f6bed98ba058bc5d73225c72ff5ce887 (diff)
pep8 warnings
Diffstat (limited to 'service/pixelated')
-rw-r--r--service/pixelated/runserver.py4
-rw-r--r--service/pixelated/support/ext_sqlcipher.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/service/pixelated/runserver.py b/service/pixelated/runserver.py
index 7a67fa8e..f3db959f 100644
--- a/service/pixelated/runserver.py
+++ b/service/pixelated/runserver.py
@@ -25,7 +25,7 @@ import pixelated.config.credentials_prompt as credentials_prompt
import pixelated.bitmask_libraries.register as leap_register
import pixelated.config.reactor_manager as reactor_manager
import pixelated.support.ext_protobuf # monkey patch for protobuf in OSX
-import pixelated.support.ext_sqlcipher # monkey patch for sqlcipher in debian
+import pixelated.support.ext_sqlcipher # monkey patch for sqlcipher in debian
from twisted.internet import error
@@ -37,7 +37,7 @@ def setup():
app.config.update({'HOST': args.host, 'PORT': args.port})
debug_enabled = args.debug or os.environ.get('DEBUG', False)
- if(not debug_enabled):
+ if (not debug_enabled):
logging.basicConfig()
logger = logging.getLogger('werkzeug')
logger.setLevel(logging.INFO)
diff --git a/service/pixelated/support/ext_sqlcipher.py b/service/pixelated/support/ext_sqlcipher.py
index 41e323a7..bd01e610 100644
--- a/service/pixelated/support/ext_sqlcipher.py
+++ b/service/pixelated/support/ext_sqlcipher.py
@@ -21,4 +21,4 @@ from sys import platform as _platform
# WAL is breaking for the debian sqlcipher package so we need to disable it
# refer to https://leap.se/code/issues/5562
if _platform == 'linux2':
- leap.soledad.client.sqlcipher.SQLCipherDatabase._pragma_write_ahead_logging = lambda x, y: None \ No newline at end of file
+ leap.soledad.client.sqlcipher.SQLCipherDatabase._pragma_write_ahead_logging = lambda x, y: None