[Python-checkins] cpython (3.4): Use https:// URLs for the bug tracker in the :issue: role.

benjamin.peterson python-checkins at python.org
Mon Oct 13 22:34:11 CEST 2014


https://hg.python.org/cpython/rev/49b3829e59a3
changeset:   93042:49b3829e59a3
branch:      3.4
user:        Alex Gaynor <alex.gaynor at gmail.com>
date:        Mon Oct 13 12:58:03 2014 -0700
summary:
  Use https:// URLs for the bug tracker in the :issue: role.

Thanks to Ezio for noticing this

files:
  Doc/tools/pyspecific.py |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Doc/tools/pyspecific.py b/Doc/tools/pyspecific.py
--- a/Doc/tools/pyspecific.py
+++ b/Doc/tools/pyspecific.py
@@ -9,7 +9,7 @@
     :license: Python license.
 """
 
-ISSUE_URI = 'http://bugs.python.org/issue%s'
+ISSUE_URI = 'https://bugs.python.org/issue%s'
 SOURCE_URI = 'https://hg.python.org/cpython/file/3.4/%s'
 
 from docutils import nodes, utils
@@ -204,7 +204,7 @@
             text = 'The NEWS file is not available.'
             node = nodes.strong(text, text)
             return [node]
-        content = issue_re.sub(r'`\1ssue #\2 <http://bugs.python.org/\2>`__',
+        content = issue_re.sub(r'`\1ssue #\2 <https://bugs.python.org/\2>`__',
                                content)
         content = whatsnew_re.sub(r'\1', content)
         # remove first 3 lines as they are the main heading

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list