1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-26 09:56:13 +01:00

- fixed search

This commit is contained in:
Marcus Huewe 2010-03-18 17:57:25 +01:00
parent c7c1f19445
commit fd3d0685a2

View File

@ -4066,7 +4066,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
what = {'project': xpath}
elif not opts.project and opts.package:
what = {'package': xpath}
else:
elif opts.binary:
what = {'published/binary/id': xpath}
try:
res = search(conf.config['apiurl'], **what)