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)) pv = helpers.gentoo_mangle_version(m.group(1))
if helpers.version_filtered(cp, ver, pv): if helpers.version_filtered(cp, ver, pv):
continue continue
yield ('mirror://github/%s' % dl['name'], yield (dl['html_url'], pv, HANDLER_NAME, CONFIDENCE)
pv, HANDLER_NAME, CONFIDENCE)
def brute_force(cpv, url): def brute_force(cpv, url):
return [] return []