Merge pull request #3026 from SwartzCr/issue_2839

update pypi for auto
This commit is contained in:
bmw
2016-05-24 18:34:39 -07:00
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -1006,7 +1006,7 @@ def latest_stable_version(get):
"""Return the latest stable release of letsencrypt."""
metadata = loads(get(
environ.get('LE_AUTO_JSON_URL',
'https://pypi.python.org/pypi/letsencrypt/json')))
'https://pypi.python.org/pypi/certbot/json')))
# metadata['info']['version'] actually returns the latest of any kind of
# release release, contrary to https://wiki.python.org/moin/PyPIJSON.
# The regex is a sufficient regex for picking out prereleases for most