mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-05 02:56:17 +01:00
- avoid type errors
This commit is contained in:
parent
85d53187cf
commit
ab8ff4b8c2
@ -2595,9 +2595,9 @@ def get_binarylist_published(apiurl, prj, repo, arch):
|
||||
|
||||
|
||||
def show_results_meta(apiurl, prj, package=None, lastbuild=None):
|
||||
query = None
|
||||
query = {}
|
||||
if package:
|
||||
query = { 'package': package }
|
||||
query['package'] = package
|
||||
if lastbuild:
|
||||
query['lastbuild'] = 1
|
||||
u = makeurl(apiurl, ['build', prj, '_result'], query=query)
|
||||
|
Loading…
Reference in New Issue
Block a user