Commit 34552a4e authored by Nicolas Delaby's avatar Nicolas Delaby

bin argument doesn't exists any longer for python2.6, and was

already deprecated for python2.4.
Remove it safely, as it seems never overridded.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41205 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7ae951a4
......@@ -66,9 +66,9 @@ class OrderedPickler(Pickler):
dispatch[PyStringMap] = save_dict
# ERP5 specific pickle function - produces ordered pickles
def dumps(obj, protocol=None, bin=None):
def dumps(obj, protocol=None):
file = StringIO()
OrderedPickler(file, protocol, bin).dump(obj)
OrderedPickler(file, protocol).dump(obj)
return file.getvalue()
def Base_asXML(object, root=None):
......
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