mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-16 10:36:13 +01:00
fb44630ad7
When trying to commit a non-existent package via Project.commit it is treated as an external package (because a non-existent package has no "state" inside the project). That is, Project.commitExtPackage is called, which fails with a FileNotFoundError in case of a non-existent package (and the traceback is printed to the user). In order to fix this, treat a non-existent package as broken package. That is, simply print an info message and do not error out with a traceback (note: the commit is _not_ aborted). Fixes: #920 ("osc commit should fail gracefully in case of nonexistent filename") |
||
---|---|---|
.. | ||
util | ||
__init__.py | ||
.gitignore | ||
babysitter.py | ||
build.py | ||
checker.py | ||
cmdln.py | ||
commandline.py | ||
conf.py | ||
core.py | ||
credentials.py | ||
fetch.py | ||
grabber.py | ||
meter.py | ||
OscConfigParser.py | ||
oscerr.py | ||
oscssl.py | ||
oscsslexcp.py |