1
0
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:
Juergen Weigert 2011-02-01 15:55:43 +01:00
parent 9228cebdc5
commit 40af804c17

View File

@ -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):