summaryrefslogtreecommitdiff
path: root/client/src/leap/soledad/client/sync.py
diff options
context:
space:
mode:
authorBruno Wagner <bwgpro@gmail.com>2015-07-23 14:53:09 -0300
committerKali Kaneko <kali@leap.se>2015-07-24 11:40:01 -0400
commitefee0cc6ae62e870e2419d3a7ac04f4647ebc752 (patch)
treeede7a30e67b8e236df14611244b86857d748e6e3 /client/src/leap/soledad/client/sync.py
parent0ad34468bb736220b5c7b88f7d7c7fc8b4900b29 (diff)
[style] fixed soledad client pep8 warnings
Diffstat (limited to 'client/src/leap/soledad/client/sync.py')
-rw-r--r--client/src/leap/soledad/client/sync.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/leap/soledad/client/sync.py b/client/src/leap/soledad/client/sync.py
index 14c547cf..77abd868 100644
--- a/client/src/leap/soledad/client/sync.py
+++ b/client/src/leap/soledad/client/sync.py
@@ -197,8 +197,8 @@ class SoledadSynchronizer(Synchronizer):
:rtype: twisted.internet.defer.Deferred
"""
cur_gen, trans_id = self.source._get_generation_info()
- if (cur_gen == start_generation + self.num_inserted
- and self.num_inserted > 0):
+ if (cur_gen == start_generation + self.num_inserted and
+ self.num_inserted > 0):
return self.sync_target.record_sync_info(
self.source._replica_uid, cur_gen, trans_id)
return defer.succeed(None)