Commit 3978a8dc authored by Alexandre Boeglin's avatar Alexandre Boeglin

python 2.3 does not have the "sets" builtin type, use sets.Set instead


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13546 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1b62294f
......@@ -33,6 +33,10 @@ try:
except ImportError:
pass
# python2.3 compatibility
if not hasattr(globals()['__builtins__'], 'set'):
from sets import Set as set
# This variable is used to store thread-local buffered information.
# This must be RAM-based, because the use of a volatile attribute does
# not guarantee that the information persists until the end of a
......
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