From ad6b1c9560740d959a4813c7499a13609345216a Mon Sep 17 00:00:00 2001 From: Kyle Huey Date: Mon, 7 Nov 2011 07:16:24 -0500 Subject: [PATCH] Bug 700203: Followup because python is insane. --- build/pymake/pymake/process.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/pymake/pymake/process.py b/build/pymake/pymake/process.py index 88166d378a5..0fdd68bdbca 100644 --- a/build/pymake/pymake/process.py +++ b/build/pymake/pymake/process.py @@ -216,7 +216,7 @@ class PythonJob(Job): return e.exitcode except: e = sys.exc_info()[1] - if isinstance(e, SystemExit) and e.code == '0': + if isinstance(e, SystemExit) and (e.code == 0 or e.code == '0'): pass # sys.exit(0) is not a failure else: print >>sys.stderr, e