mirror of
https://github.com/openSUSE/osc.git
synced 2025-09-06 13:18:42 +02:00
- avoid type errors
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user