mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 700203: Followup because python is insane.
This commit is contained in:
parent
32320a58e3
commit
ad6b1c9560
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user