1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-12 23:56:13 +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:
Marcus Hüwe 2008-12-22 08:54:32 +00:00
parent ba3c4ac09d
commit a6053debab

View File

@ -142,3 +142,7 @@ def run(prg):
except RPMError, e:
print >>sys.stderr, e
return 1
except OSError, e:
print >>sys.stderr, e
return 1