# HG changeset patch # User mark.williamson@cl.cam.ac.uk # Date 1124135201 28800 # Node ID 302f83b8505410863e4e77ebb594e2c2ef6cb2dc # Parent d46af8e6b85874a3ef32ddd545536d41d9da1418 Minor tweak: os.STOPSIG -> os.WSTOPSIG. Pychecker spotted this one. diff --git a/mercurial/util.py b/mercurial/util.py --- a/mercurial/util.py +++ b/mercurial/util.py @@ -276,6 +276,6 @@ else: 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")