Skip to content

Commit

Permalink
Merge pull request #327 from pypa/fix-https-recommendation
Browse files Browse the repository at this point in the history
Fix HTTP to HTTP links, suggestions
  • Loading branch information
brainwane committed Mar 19, 2018
2 parents 1dcb913 + 32050e7 commit 1e7d2ff
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ example.
Resources
---------

* `IRC <http://webchat.freenode.net/?channels=%23pypa>`_
* `IRC <https://webchat.freenode.net/?channels=%23pypa>`_
(``#pypa`` - irc.freenode.net)
* `GitHub repository <https://github.com/pypa/twine>`_
* User and developer `documentation`_
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,4 +277,4 @@


# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {"http://docs.python.org/": None}
intersphinx_mapping = {"https://docs.python.org/": None}
2 changes: 1 addition & 1 deletion tests/test_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def test_skip_existing_skips_files_already_on_PyPI(monkeypatch):


def test_skip_existing_skips_files_already_on_pypiserver(monkeypatch):
# pypiserver (http://pypi.org/project/pypiserver) responds with a
# pypiserver (https://pypi.org/project/pypiserver) responds with a
# 409 when the file already exists.
response = pretend.stub(
status_code=409,
Expand Down
2 changes: 1 addition & 1 deletion twine/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

__title__ = "twine"
__summary__ = "Collection of utilities for publishing packages on PyPI"
__uri__ = "http://twine.readthedocs.io/"
__uri__ = "https://twine.readthedocs.io/"

__version__ = "1.10.0"

Expand Down
2 changes: 1 addition & 1 deletion twine/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def get_repository_from_config(config_file, repository, repository_url=None):
}
if repository_url and "://" not in repository_url:
raise twine.exceptions.UnreachableRepositoryURLDetected(
"Repository URL {0} has no protocol. Please add 'http://' or "
"Repository URL {0} has no protocol. Please add "
"'https://'. \n".format(repository_url))
try:
return get_config(config_file)[repository]
Expand Down

0 comments on commit 1e7d2ff

Please sign in to comment.