changeset 912:302f83b85054

Minor tweak: os.STOPSIG -> os.WSTOPSIG. Pychecker spotted this one.
author mark.williamson@cl.cam.ac.uk
date Mon, 15 Aug 2005 11:46:41 -0800
parents d46af8e6b858
children 46581ad4bd27
files mercurial/util.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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")