summaryrefslogtreecommitdiff
path: root/client/src/leap
diff options
context:
space:
mode:
authorVictor Shyba <victor.shyba@gmail.com>2016-09-30 15:40:54 -0300
committerdrebs <drebs@leap.se>2016-09-30 15:54:39 -0300
commit0c89333460953413033154e60da2ddb9cc1aed55 (patch)
tree7fa20af590e2ed72fde617261cda495a63a0f861 /client/src/leap
parent887fd917a19654aa6a7c6c54be3f22c3b6c79b92 (diff)
[bug] use % for formatting
Otherwise it will put the exception as an additional parameter.
Diffstat (limited to 'client/src/leap')
-rw-r--r--client/src/leap/soledad/client/sync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/leap/soledad/client/sync.py b/client/src/leap/soledad/client/sync.py
index 0c68d100..7ed5f693 100644
--- a/client/src/leap/soledad/client/sync.py
+++ b/client/src/leap/soledad/client/sync.py
@@ -96,7 +96,7 @@ class SoledadSynchronizer(Synchronizer):
sync_target.get_sync_info(self.source._replica_uid)
except (errors.DatabaseDoesNotExist, BackendNotReadyError) as e:
logger.debug("Database isn't ready on server. Will be created.")
- logger.debug("Reason: %s", e.__class__)
+ logger.debug("Reason: %s" % e.__class__)
self.target_replica_uid = None
target_gen, target_trans_id = 0, ''
target_my_gen, target_my_trans_id = 0, ''