mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
#11565: Merge with 3.1.
This commit is contained in:
commit
3b3499ba69
93 changed files with 124 additions and 124 deletions
|
@ -498,7 +498,7 @@ def _syscmd_ver(system='', release='', version='',
|
|||
info = pipe.read()
|
||||
if pipe.close():
|
||||
raise os.error('command failed')
|
||||
# XXX How can I supress shell errors from being written
|
||||
# XXX How can I suppress shell errors from being written
|
||||
# to stderr ?
|
||||
except os.error as why:
|
||||
#print 'Command %s failed: %s' % (cmd,why)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue