mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-15 10:06:16 +01:00
- catch OSError exceptions which might be raised by the subprocess module (note: the subprocess module doesn't set the filename attribute so we don't get much information)
This commit is contained in:
parent
ba3c4ac09d
commit
a6053debab
@ -142,3 +142,7 @@ def run(prg):
|
|||||||
except RPMError, e:
|
except RPMError, e:
|
||||||
print >>sys.stderr, e
|
print >>sys.stderr, e
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
|
except OSError, e:
|
||||||
|
print >>sys.stderr, e
|
||||||
|
return 1
|
||||||
|
Loading…
Reference in New Issue
Block a user