Commit 2d3e8a03 authored by Sebastien Robin's avatar Sebastien Robin

use the new dumps method


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