From 1ae0823828e45b16b8788c78011346ef7316545e Mon Sep 17 00:00:00 2001 From: Duda Dornelles Date: Thu, 23 Oct 2014 16:17:12 +0200 Subject: pep8 warnings --- service/pixelated/runserver.py | 4 ++-- service/pixelated/support/ext_sqlcipher.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'service') 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 -- cgit v1.2.3