Commit 6a94bb6e authored by Sebastien Robin's avatar Sebastien Robin

do whatever needed in order to not have : can't pickle aquisition wrappers


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@341 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ccbe8e6f
...@@ -79,6 +79,7 @@ def Base_asXML(object, ident=0): ...@@ -79,6 +79,7 @@ def Base_asXML(object, ident=0):
# xml+=ascii_data # xml+=ascii_data
elif prop_type in ('object',): elif prop_type in ('object',):
# We may have very long lines, so we should split # We may have very long lines, so we should split
value = aq_base(value)
value = pickle.dumps(value) value = pickle.dumps(value)
msg = MIMEBase('application','octet-stream') msg = MIMEBase('application','octet-stream')
msg.set_payload(value) msg.set_payload(value)
......
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