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

alex.gaynor python-checkins at python.org
Mon Oct 13 21:58:28 CEST 2014


https://hg.python.org/cpython/rev/77321a189ecb
changeset:   93040:77321a189ecb
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/default/%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