Commit 56970056 authored by Rafael Monnerat's avatar Rafael Monnerat

Drop support for Python2.3


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29096 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b7f08d10
......@@ -38,18 +38,7 @@ try:
except ImportError:
from Products.ERP5Type.patches.string import Template
# API of base64 has changed between python v2.3 and v2.4
import base64
try:
# python v2.4 API
b64encode = base64.b64encode
b64decode = base64.b64decode
except AttributeError:
# python v2.3 API
b64encode = base64.encodestring
b64decode = base64.decodestring
from base64 import b64encode, b64decode
class Message(Persistent):
"""
......
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