1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-14 01:26:23 +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} what = {'project': xpath}
elif not opts.project and opts.package: elif not opts.project and opts.package:
what = {'package': xpath} what = {'package': xpath}
else: elif opts.binary:
what = {'published/binary/id': xpath} what = {'published/binary/id': xpath}
try: try:
res = search(conf.config['apiurl'], **what) res = search(conf.config['apiurl'], **what)