1
0
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:
Sascha Peilicke 2011-08-18 15:25:32 +02:00
parent af86600880
commit 097daf311b

View File

@ -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):