mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-04 02:26:16 +01:00
- results: quote parameter in the new URL
- prjresults: sort package names
This commit is contained in:
parent
7f4ed364f0
commit
12e1f1b45d
@ -1139,7 +1139,7 @@ def get_repos_of_project(prj):
|
||||
|
||||
|
||||
def show_results_meta(prj, package):
|
||||
u = makeurl(['build', prj, '_result?package=%s' % package])
|
||||
u = makeurl(['build', prj, '_result?package=%s' % pathname2url(package)])
|
||||
f = urlopen(u)
|
||||
return f.readlines()
|
||||
|
||||
@ -1192,7 +1192,7 @@ def get_prj_results(prj):
|
||||
pacs = []
|
||||
for node in root.find('result'):
|
||||
pacs.append(node.get('package'))
|
||||
|
||||
pacs.sort()
|
||||
|
||||
max_pacs = 40
|
||||
for startpac in range(0, len(pacs), max_pacs):
|
||||
|
Loading…
Reference in New Issue
Block a user