Commit e285cdd9 authored by Alex Gaynor's avatar Alex Gaynor

Use https:// URLs for the bug tracker in the :issue: role.

Thanks to Ezio for noticing this
parent 88f64ce0
......@@ -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 @@ class MiscNews(Directive):
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment