mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 06:46:15 +01:00
No such file or directory should not trigger stack trace.
This commit is contained in:
parent
9228cebdc5
commit
40af804c17
@ -865,6 +865,10 @@ def main(apiurl, opts, argv):
|
||||
print "keyboard interrupt, killing build ..."
|
||||
subprocess.call(cmd + ["--kill"])
|
||||
raise i
|
||||
except Exception, e:
|
||||
# 'No such file or directory' should not trigger a stack trace
|
||||
print "Exception: " + str(e)
|
||||
sys.exit(1)
|
||||
|
||||
pacdir = os.path.join(build_root, '.build.packages')
|
||||
if os.path.islink(pacdir):
|
||||
|
Loading…
Reference in New Issue
Block a user