1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-27 10:16:14 +01:00

make "no valid buildinfo" message a bit more helpfull

This commit is contained in:
Adrian Schröter 2009-11-04 22:06:38 +00:00
parent 2d198006b8
commit 060a87e9b3

View File

@ -404,7 +404,7 @@ def main(opts, argv):
template_args=None, create_new=False, apiurl=apiurl):
if pac == '_repository' or meta_exists(metatype='pkg', path_args=(quote_plus(prj), quote_plus(pac)),
template_args=None, create_new=False, apiurl=apiurl):
print >>sys.stderr, 'wrong repo/arch?'
print >>sys.stderr, 'ERROR: Either wrong repo/arch as parameter or a parse error of .spec/.dsc/.kiwi file due to syntax error'
else:
print >>sys.stderr, 'The package \'%s\' does not exists - please ' \
'rerun with \'--local-package\'' % pac