Commit 8995235e authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

remove python-2.3 compatibility code because we no longer support python-2.3...

remove python-2.3 compatibility code because we no longer support python-2.3 and encodestring() is b64encode not b16encode.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29549 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5fac069f
......@@ -43,10 +43,7 @@ parser = etree.XMLParser(remove_blank_text=True)
from xml.dom import minidom
try:
from base64 import b16encode, b16decode
except ImportError:
from base64 import encodestring as b16encode, decodestring as b16decode
from base64 import b16encode, b16decode
class XMLSyncUtilsMixin(SyncCode):
......
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