mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Merge.
This commit is contained in:
commit
69cce482cb
2 changed files with 2 additions and 2 deletions
|
@ -262,7 +262,7 @@ class BaseProcess(object):
|
|||
exitcode = e.args[0]
|
||||
else:
|
||||
sys.stderr.write(str(e.args[0]) + '\n')
|
||||
exitcode = 0 if isinstance(e.args[0], str) else 1
|
||||
exitcode = 1
|
||||
except:
|
||||
exitcode = 1
|
||||
import traceback
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue