Minor tweak: os.STOPSIG -> os.WSTOPSIG. Pychecker spotted this one.
authormark.williamson@cl.cam.ac.uk
Mon, 15 Aug 2005 11:46:41 -0800
changeset 912 302f83b85054
parent 911 d46af8e6b858
child 913 46581ad4bd27
Minor tweak: os.STOPSIG -> os.WSTOPSIG. Pychecker spotted this one.
mercurial/util.py
--- a/mercurial/util.py	Mon Aug 15 08:08:11 2005 +0100
+++ b/mercurial/util.py	Mon Aug 15 11:46:41 2005 -0800
@@ -276,6 +276,6 @@
             val = os.WTERMSIG(code)
             return "killed by signal %d" % val, val
         elif os.WIFSTOPPED(code):
-            val = os.STOPSIG(code)
+            val = os.WSTOPSIG(code)
             return "stopped by signal %d" % val, val
         raise ValueError("invalid exit code")