summaryrefslogtreecommitdiff
path: root/client/src/leap/soledad
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2014-11-27 16:50:20 -0200
committerdrebs <drebs@leap.se>2014-11-27 16:56:15 -0200
commit3526d37350c27487fb1e4c6664dc346006ef72f4 (patch)
treef3f0ab4012a32404acb5cb66ec785421f16aab41 /client/src/leap/soledad
parentb51ea111366b207acfc4c78cbe2ed74188c3de1f (diff)
Fix pep8 style.
Diffstat (limited to 'client/src/leap/soledad')
-rw-r--r--client/src/leap/soledad/client/sqlcipher.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/client/src/leap/soledad/client/sqlcipher.py b/client/src/leap/soledad/client/sqlcipher.py
index 26e74ef5..45629045 100644
--- a/client/src/leap/soledad/client/sqlcipher.py
+++ b/client/src/leap/soledad/client/sqlcipher.py
@@ -488,8 +488,9 @@ class SQLCipherDatabase(sqlite_backend.SQLitePartialExpandDatabase):
logger.warning("Local sync db is not clear, skipping sync...")
return
except CannotSendRequest:
- logger.warning("Connection with sync target couldn't be established. Resetting connection...")
- # closing the connection it will get it recreated in the next try
+ logger.warning("Connection with sync target couldn't be "
+ "established. Resetting connection...")
+ # closing the connection it will be recreated in the next try
syncer.sync_target.close()
return