1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-25 19:52:12 +01:00

osc build: handle exception when getting buildinfo fails, for cases != 404

This commit is contained in:
Dr. Peter Poeml 2008-06-12 12:12:29 +00:00
parent 7675c55242
commit dd9d1cb49f

View File

@ -301,6 +301,8 @@ def main(opts, argv):
print >>sys.stderr, 'The project \'%s\' does not exists - please ' \
'rerun with \'--alternative-project <alternative_project>\'' % prj
sys.exit(1)
else:
raise
bi_file.write(bi_text)
bi_file.flush()