Commit ab751155 authored by Tobias Bengfort's avatar Tobias Bengfort

convert bytestring to unicode to make this work with python3

parent f8285a7f
......@@ -86,6 +86,7 @@ class Recipe(object):
f = urllib.urlopen('http://rubygems.org/pages/download')
s = f.read()
s = unicode(s)
f.close()
r = re.search(r'http://production.cf.rubygems.org/rubygems/'
r'rubygems-([0-9.]+).zip', s)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment