mercurial/worker.py
changeset 25660 328739ea70c3
parent 22199 b3e51675f98e
child 25992 2d76f8a2d831
--- a/mercurial/worker.py	Tue Jun 23 22:38:21 2015 -0700
+++ b/mercurial/worker.py	Tue Jun 23 22:20:08 2015 -0700
@@ -101,7 +101,7 @@
         for p in pids:
             try:
                 os.kill(p, signal.SIGTERM)
-            except OSError, err:
+            except OSError as err:
                 if err.errno != errno.ESRCH:
                     raise
     def waitforworkers():