euscan/handlers/pypi: fix scan_url()

Probably never worked...
This commit is contained in:
Corentin Chary 2015-03-09 11:07:00 +01:00
parent 84e32e1554
commit 2d70845115

View File

@ -28,7 +28,7 @@ def scan_url(pkg, url, options):
'http://wiki.python.org/moin/PyPiXmlRpc' 'http://wiki.python.org/moin/PyPiXmlRpc'
package = guess_package(pkg.cpv, url) package = guess_package(pkg.cpv, url)
return scan_pkg(pkg, [package]) return scan_pkg(pkg, {'data': package})
def scan_pkg(pkg, options): def scan_pkg(pkg, options):