mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-10 13:05:46 +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):
|
def show_results_meta(apiurl, prj, package=None, lastbuild=None):
|
||||||
query = None
|
query = {}
|
||||||
if package:
|
if package:
|
||||||
query = { 'package': package }
|
query['package'] = package
|
||||||
if lastbuild:
|
if lastbuild:
|
||||||
query['lastbuild'] = 1
|
query['lastbuild'] = 1
|
||||||
u = makeurl(apiurl, ['build', prj, '_result'], query=query)
|
u = makeurl(apiurl, ['build', prj, '_result'], query=query)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user