mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-12 16:56:15 +01:00
Fix tests/test_repairwc.py, there's no 'urllib22' yet ;-)
This commit is contained in:
parent
af86600880
commit
097daf311b
@ -350,7 +350,7 @@ def parse_apisrv_url(scheme, apisrv):
|
||||
return urlparse.urlsplit(urljoin(scheme, apisrv))[0:2]
|
||||
else:
|
||||
msg = 'invalid apiurl \'%s\' (specify the protocol (http:// or https://))' % apisrv
|
||||
raise urllib22.URLError(msg)
|
||||
raise urllib2.URLError(msg)
|
||||
|
||||
|
||||
def urljoin(scheme, apisrv):
|
||||
|
Loading…
Reference in New Issue
Block a user