1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 06:46:15 +01:00

fix exception

TypeError: can only concatenate list (not "tuple") to list
This commit is contained in:
Ludwig Nussel 2015-08-17 17:36:45 +02:00
parent e4e3bdccbf
commit d534218421

View File

@ -3151,7 +3151,7 @@ def makeurl(baseurl, l, query=[]):
query = urlencode(query)
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):