Commits

Jason R. Coombs  committed 0b7e922

Grab set from sets module for Python 2.3

  • Participants
  • Parent commits 0b59887
  • Branches cherrypy-3.2.x

Comments (0)

Files changed (1)

File cherrypy/_cpcompat_subprocess.py

 import signal
 import errno
 
+try:
+    set
+except NameError:
+    from sets import Set as set
+
 # Exception classes used by this module.
 class CalledProcessError(Exception):
     """This exception is raised when a process run by check_call() or