mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-17 15:39:00 +00:00
misc/build_helpers/show-tool-versions.py: avoid error message when 'as -version' does not create a.out.
This commit is contained in:
parent
a7c474a098
commit
cd7fb133b7
@ -62,7 +62,8 @@ def print_as_ver():
|
||||
stderr=subprocess.PIPE).communicate()[1]
|
||||
print
|
||||
print 'as: ' + res.replace("\n", " ")
|
||||
os.remove('a.out')
|
||||
if os.path.exists('a.out'):
|
||||
os.remove('a.out')
|
||||
except EnvironmentError, le:
|
||||
sys.stderr.write("Got exception invoking '%s': %s\n" % ('as', le,))
|
||||
pass
|
||||
|
Loading…
x
Reference in New Issue
Block a user