summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNavaL <ayoyo@thoughtworks.com>2016-06-20 15:03:59 +0200
committerKali Kaneko <kali@leap.se>2016-06-22 16:27:13 +0200
commitab37460772c3cf07c6915baf42a61a44156cfde2 (patch)
tree4bbbf9ef1617210be4999f67ca8e71c716844613
parenta841230aa7d199151ffe1cb21d33b9b0a7bd5eb5 (diff)
[style] pep8 compatibility: indent and white space
It was breaking E126 and E202 before
-rw-r--r--client/src/leap/soledad/client/adbapi.py2
-rw-r--r--common/src/leap/soledad/common/tests/test_server.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/client/src/leap/soledad/client/adbapi.py b/client/src/leap/soledad/client/adbapi.py
index f43e8110..cfd7675c 100644
--- a/client/src/leap/soledad/client/adbapi.py
+++ b/client/src/leap/soledad/client/adbapi.py
@@ -204,7 +204,7 @@ class U1DBConnectionPool(adbapi.ConnectionPool):
:rtype: twisted.internet.defer.Deferred
"""
meth = "u1db_%s" % meth
- semaphore = DeferredSemaphore(SQLCIPHER_MAX_RETRIES )
+ semaphore = DeferredSemaphore(SQLCIPHER_MAX_RETRIES)
def _run_interaction():
return self.runInteraction(
diff --git a/common/src/leap/soledad/common/tests/test_server.py b/common/src/leap/soledad/common/tests/test_server.py
index 328090ee..2fee119d 100644
--- a/common/src/leap/soledad/common/tests/test_server.py
+++ b/common/src/leap/soledad/common/tests/test_server.py
@@ -482,8 +482,8 @@ class EncryptedSyncTestCase(
Test if Soledad can sync very large files.
"""
self.skipTest(
- "Work in progress. For reference, see: "
- "https://leap.se/code/issues/7370")
+ "Work in progress. For reference, see: "
+ "https://leap.se/code/issues/7370")
length = 100 * (10 ** 6) # 100 MB
return self._test_encrypted_sym_sync(doc_size=length, number_of_docs=1)