github: return the regular download URL instead.

This commit is contained in:
Michał Górny 2012-06-14 12:56:45 +02:00
parent 5af479fea8
commit a3fe7a21e7

View File

@ -44,8 +44,7 @@ def scan(cpv, url):
pv = helpers.gentoo_mangle_version(m.group(1))
if helpers.version_filtered(cp, ver, pv):
continue
yield ('mirror://github/%s' % dl['name'],
pv, HANDLER_NAME, CONFIDENCE)
yield (dl['html_url'], pv, HANDLER_NAME, CONFIDENCE)
def brute_force(cpv, url):
return []