mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-13 17:16:23 +01:00
fix exception
TypeError: can only concatenate list (not "tuple") to list
This commit is contained in:
parent
e4e3bdccbf
commit
d534218421
@ -3151,7 +3151,7 @@ def makeurl(baseurl, l, query=[]):
|
|||||||
query = urlencode(query)
|
query = urlencode(query)
|
||||||
|
|
||||||
scheme, netloc, path = urlsplit(baseurl)[0:3]
|
scheme, netloc, path = urlsplit(baseurl)[0:3]
|
||||||
return urlunsplit((scheme, netloc, '/'.join([path] + l), query, ''))
|
return urlunsplit((scheme, netloc, '/'.join([path] + list(l)), query, ''))
|
||||||
|
|
||||||
|
|
||||||
def http_request(method, url, headers={}, data=None, file=None):
|
def http_request(method, url, headers={}, data=None, file=None):
|
||||||
|
Loading…
Reference in New Issue
Block a user