[conduit/syncml: 100/244] Clearer log messages about sync type
- From: John Carr <johncarr src gnome org>
- To: svn-commits-list gnome org
- Subject: [conduit/syncml: 100/244] Clearer log messages about sync type
- Date: Thu, 21 May 2009 05:53:30 -0400 (EDT)
commit 03e29b6d3a96a5b29f2665b595beb3d80dfe1abf
Author: John Carr <john carr unrouted co uk>
Date: Mon Apr 27 01:23:37 2009 -0700
Clearer log messages about sync type
---
conduit/modules/SyncmlModule/SyncmlModule.py | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/conduit/modules/SyncmlModule/SyncmlModule.py b/conduit/modules/SyncmlModule/SyncmlModule.py
index 0e54cc4..5134ef3 100644
--- a/conduit/modules/SyncmlModule/SyncmlModule.py
+++ b/conduit/modules/SyncmlModule/SyncmlModule.py
@@ -149,12 +149,16 @@ class SyncmlDataProvider(DataProvider.TwoWay):
def handle_get_alert_type(self, sync_object, source, alert_type, userdata, err):
if alert_type == enums.SML_ALERT_SLOW_SYNC:
+ log.debug("Remote requested slowsync")
self.slowsync = True
+ else:
+ log.debug("Remote requested normal sync")
+ self.slowsync = False
+
if self.slowsync == True:
- log.debug("Enabling slow sync")
+ log.debug("Going to do a slowsync")
alert_type = enums.SML_ALERT_SLOW_SYNC
- else:
- log.debug("Normal sync")
+
return alert_type
def _syncml_sendall(self):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]