In find_ppa_info(), I'd expect to see ""ppa:%s/%s" % (slug_regex, slug_regex)" on line 95 not "lp:%s/%s" % (slug_regex, slug_regex)"
I tried to give this a test, but it's not working for me:
>>> from brancher import web; import urllib >>> >>> html=urllib.urlopen("https://myapps.developer.ubuntu.com/dev/apps/500/feedback/") >>> web.find_ppa_info(html) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "brancher/web.py", line 98, in find_ppa_info ppas = re.findall("(%s)" % "|".join(ppa_regexes), html) File "/usr/lib/python2.7/re.py", line 177, in findall return _compile(pattern, flags).findall(string) TypeError: expected string or buffer
In find_ppa_info(), I'd expect to see ""ppa:%s/%s" % (slug_regex, slug_regex)" on line 95 not "lp:%s/%s" % (slug_regex, slug_regex)"
I tried to give this a test, but it's not working for me:
>>> from brancher import web; import urllib urlopen( "https:/ /myapps. developer. ubuntu. com/dev/ apps/500/ feedback/") ppa_info( html) ppa_regexes) , html) python2. 7/re.py" , line 177, in findall findall( string)
>>>
>>> html=urllib.
>>> web.find_
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "brancher/web.py", line 98, in find_ppa_info
ppas = re.findall("(%s)" % "|".join(
File "/usr/lib/
return _compile(pattern, flags).
TypeError: expected string or buffer