Commit 5cad5d76 authored by Aurel's avatar Aurel Committed by Georgios Dagkakis

add debugging info in traceback

parent f84f4cdb
...@@ -469,7 +469,6 @@ class SyncMLSubscription(XMLObject): ...@@ -469,7 +469,6 @@ class SyncMLSubscription(XMLObject):
#document = None # For now, do no try to retrieve previous version of document #document = None # For now, do no try to retrieve previous version of document
# XXX this has to be managed with a property # XXX this has to be managed with a property
# XXX Some improvement can also be done to retrieve a list of document at once # XXX Some improvement can also be done to retrieve a list of document at once
# Get the data # Get the data
if 'xml_data' in action: if 'xml_data' in action:
# Rebuild an Element # Rebuild an Element
...@@ -485,7 +484,7 @@ class SyncMLSubscription(XMLObject): ...@@ -485,7 +484,7 @@ class SyncMLSubscription(XMLObject):
signature.appendPartialData(incoming_data) signature.appendPartialData(incoming_data)
incoming_data = signature.getPartialData() incoming_data = signature.getPartialData()
signature.setPartialData(None) signature.setPartialData(None)
__traceback_info__ = (gid, document, incoming_data, action['command'])
# Browse possible actions # Browse possible actions
if action["command"] == 'Add': if action["command"] == 'Add':
status_code = "item_added" # Default status code for addition status_code = "item_added" # Default status code for addition
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment