Commit 76113390 authored by Aurel's avatar Aurel

use specific method defined on subscription

parent 7b28b5fc
...@@ -69,10 +69,7 @@ for path in path_list:\n ...@@ -69,10 +69,7 @@ for path in path_list:\n
# Call specific method to compute GID on source data\n # Call specific method to compute GID on source data\n
value = subscription.getGidFromObject(obj)\n value = subscription.getGidFromObject(obj)\n
elif property == "data":\n elif property == "data":\n
conduit = subscription.getConduit()\n value = subscription.getDataFromDocument(obj)\n
value = conduit.getXMLFromObjectWithId(obj,\n
xml_mapping=subscription.getXmlBindingGeneratorMethodId(),\n
context_document=subscription.getPath())\n
else:\n else:\n
value = getattr(obj, \'get%s\' % UpperCase(property))() \n value = getattr(obj, \'get%s\' % UpperCase(property))() \n
else:\n else:\n
......
108 109
\ No newline at end of file \ No newline at end of file
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