don't report conflicts when decks have same mod time

This commit is contained in:
Damien Elmes 2010-08-19 12:02:02 +09:00
parent a4e3a9fa95
commit 5fc33ab143

View file

@ -159,7 +159,8 @@ class Sync(QThread):
remoteSync = proxy._lastSync() remoteSync = proxy._lastSync()
minSync = min(localSync, remoteSync) minSync = min(localSync, remoteSync)
self.conflictResolution = None self.conflictResolution = None
if minSync > 0 and localMod > minSync and remoteMod > minSync: if (localMod != remoteMod and minSync > 0 and
localMod > minSync and remoteMod > minSync):
self.emit(SIGNAL("syncConflicts"), syncName) self.emit(SIGNAL("syncConflicts"), syncName)
while not self.conflictResolution: while not self.conflictResolution:
time.sleep(0.2) time.sleep(0.2)