Debug output for google sync

This commit is contained in:
Martin Bauer
2014-06-17 23:42:18 +02:00
parent 1aa23d2691
commit 5fc206112d
2 changed files with 10 additions and 2 deletions

View File

@@ -242,6 +242,7 @@ def syncFromGoogleToLocal( service = None ):
if service is None: service = getServiceObject()
newStatusReceived = False
allEvents = getAllGCalEvents( service, fromNow=True)
for e in allEvents:
localId = e['extendedProperties']['private']['blechreizID']
@@ -268,6 +269,9 @@ def syncFromGoogleToLocal( service = None ):
# and an endless loop is entered
if prev.status != part.status or prev.comment != part.comment:
part.save()
newStatusReceived = True
return newStatusReceived