Fix bug introduced by 78437acb4a.

main
Olivier Mangin 11 years ago
parent 48ad7e9b69
commit 3a149f655f

@ -88,7 +88,7 @@ def get_content(path, ui=None):
if content_type(path) == 'url': if content_type(path) == 'url':
if ui is not None: if ui is not None:
ui.print_('dowloading {}'.format(path)) ui.print_('dowloading {}'.format(path))
response = urllib2.urlopen(path) response = urlopen(path)
return response.read() return response.read()
else: else:
return read_file(path) return read_file(path)

Loading…
Cancel
Save