tests/killdaemons.py
changeset 25031 0adc22a0b6b3
parent 21194 476069509e72
child 25473 123c99034cb6
--- a/tests/killdaemons.py	Wed May 13 11:49:38 2015 -0700
+++ b/tests/killdaemons.py	Sat Apr 11 18:20:44 2015 -0400
@@ -64,7 +64,7 @@
                 os.kill(pid, 0)
             logfn('# Daemon process %d is stuck - really killing it' % pid)
             os.kill(pid, signal.SIGKILL)
-        except OSError, err:
+        except OSError as err:
             if err.errno != errno.ESRCH:
                 raise