Commit f269939d authored by Christophe Dumez's avatar Christophe Dumez

- should now be compatible with python 2.3


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7136 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 62cab3d1
...@@ -53,6 +53,12 @@ try: ...@@ -53,6 +53,12 @@ try:
except ImportError: except ImportError:
from base64 import encodestring as b64encode, decodestring as b64decode from base64 import encodestring as b64encode, decodestring as b64decode
# To keep compatibility with python 2.3
try:
set
except NameError:
from sets import Set as set
class Error(exceptions.EnvironmentError): class Error(exceptions.EnvironmentError):
pass pass
......
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