Merge pull request #47 from felixonmars/metacpan-update

CPAN: Use metacpan fastapi
This commit is contained in:
依云 2017-03-24 20:41:25 +08:00 committed by GitHub
commit fcd2ff29e4

View File

@ -4,7 +4,7 @@
from .simple_json import simple_json
# Using metacpan
CPAN_URL = 'https://api.metacpan.org/release/%s'
CPAN_URL = 'https://fastapi.metacpan.org/release/%s'
def _version_from_json(data):
return str(data['version'])