[conduit/syncml: 13/13] Add some logging so we can see what action put() takes
- From: John Carr <johncarr src gnome org>
- To: svn-commits-list gnome org
- Subject: [conduit/syncml: 13/13] Add some logging so we can see what action put() takes
- Date: Sat, 27 Jun 2009 15:24:23 +0000 (UTC)
commit 50d1018a8b2d4fbc254d05e50ab1ca70025016d0
Author: John Carr <john carr unrouted co uk>
Date: Tue Jun 16 09:32:03 2009 +0100
Add some logging so we can see what action put() takes
conduit/modules/SyncmlModule/SyncmlModule.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/conduit/modules/SyncmlModule/SyncmlModule.py b/conduit/modules/SyncmlModule/SyncmlModule.py
index 77eaa49..132b57d 100644
--- a/conduit/modules/SyncmlModule/SyncmlModule.py
+++ b/conduit/modules/SyncmlModule/SyncmlModule.py
@@ -269,9 +269,11 @@ class SyncmlDataProvider(DataProvider.TwoWay):
if LUID == None:
LUID = str(uuid.uuid4())
+ log.debug("Adding data object with new LUID (%s)" % LUID)
self._queue.append((enums.SML_CHANGE_ADD, LUID, "", blob))
return conduit.datatypes.Rid(uid=LUID, hash=hash(blob))
+ log.debug("Updating data object with existing LUID (%s)" % LUID)
self._queue.append((enums.SML_CHANGE_REPLACE, LUID, self.mapping[LUID], blob))
return conduit.datatypes.Rid(uid=LUID, hash=hash(blob))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]