mirror of
https://github.com/openSUSE/osc.git
synced 2025-08-12 02:04:04 +02: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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user