Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion pythonbrew/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,7 @@ def get_pythonbrew_update_url(version):
return PYTHONBREW_UPDATE_URL_PYPI % (version)

def get_python_version_url(version):
return PYTHON_VERSION_URL.get(version)
url = PYTHON_VERSION_URL.get(version)
if not url:
url = "http://www.python.org/ftp/python/%s/Python-%s.tgz" % (version, version)
return url