setup.py
changeset 8695 358d8bed9626
parent 7896 4c954e1e73ef
child 9276 ae3fd6f8da76
--- a/setup.py	Thu Feb 14 15:39:23 2013 +0100
+++ b/setup.py	Thu Feb 14 15:38:25 2013 +0100
@@ -129,7 +129,7 @@
                 shutil.copy2(src, dest)
     try:
         os.mkdir(to_dir)
-    except OSError, ex:
+    except OSError as ex:
         # file exists ?
         import errno
         if ex.errno != errno.EEXIST: