1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-12 16:56:15 +01:00

- show_project_sourceinfo: quote package names

This commit is contained in:
Marcus Huewe 2014-06-24 23:05:38 +02:00
parent 0389a0343c
commit cb9a5d5a17

View File

@ -3588,7 +3588,7 @@ def show_upstream_xsrcmd5(apiurl, prj, pac, revision=None, linkrev=None, linkrep
def show_project_sourceinfo(apiurl, project, nofilename, *packages):
query = ['view=info']
if packages:
query.extend(['package=%s' % p for p in packages])
query.extend(['package=%s' % quote_plus(p) for p in packages])
if nofilename:
query.append('nofilename=1')
f = http_GET(makeurl(apiurl, ['source', project], query=query))