##// END OF EJS Templates
Minor tweak: os.STOPSIG -> os.WSTOPSIG. Pychecker spotted this one.
mark.williamson@cl.cam.ac.uk -
r912:302f83b8 default
parent child Browse files
Show More
@@ -276,6 +276,6 b' else:'
276 val = os.WTERMSIG(code)
276 val = os.WTERMSIG(code)
277 return "killed by signal %d" % val, val
277 return "killed by signal %d" % val, val
278 elif os.WIFSTOPPED(code):
278 elif os.WIFSTOPPED(code):
279 val = os.STOPSIG(code)
279 val = os.WSTOPSIG(code)
280 return "stopped by signal %d" % val, val
280 return "stopped by signal %d" % val, val
281 raise ValueError("invalid exit code")
281 raise ValueError("invalid exit code")
General Comments 0
You need to be logged in to leave comments. Login now