Commits

Jason R. Coombs committed 0d5c210

Restore Python 2.3 compatibility in import syntax

Comments (0)

Files changed (1)

cherrypy/_cpcompat_subprocess.py

            "check_output", "CalledProcessError"]
 
 if mswindows:
-    from _subprocess import (CREATE_NEW_CONSOLE, CREATE_NEW_PROCESS_GROUP,
-                             STD_INPUT_HANDLE, STD_OUTPUT_HANDLE,
-                             STD_ERROR_HANDLE, SW_HIDE,
-                             STARTF_USESTDHANDLES, STARTF_USESHOWWINDOW)
+    from _subprocess import CREATE_NEW_CONSOLE, CREATE_NEW_PROCESS_GROUP, \
+                             STD_INPUT_HANDLE, STD_OUTPUT_HANDLE, \
+                             STD_ERROR_HANDLE, SW_HIDE, \
+                             STARTF_USESTDHANDLES, STARTF_USESHOWWINDOW
 
     __all__.extend(["CREATE_NEW_CONSOLE", "CREATE_NEW_PROCESS_GROUP",
                     "STD_INPUT_HANDLE", "STD_OUTPUT_HANDLE",