From: Alex Gaynor Date: Mon, 13 Oct 2014 19:58:03 +0000 (-0700) Subject: Use https:// URLs for the bug tracker in the :issue: role. X-Git-Tag: v3.5.0a1~666^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e6f8c5025afd9f88844a80ec03d61290ef5ef2d1;p=python Use https:// URLs for the bug tracker in the :issue: role. Thanks to Ezio for noticing this --- diff --git a/Doc/tools/pyspecific.py b/Doc/tools/pyspecific.py index 211a0edb74..a17406ae1a 100644 --- 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 @@ class MiscNews(Directive): text = 'The NEWS file is not available.' node = nodes.strong(text, text) return [node] - content = issue_re.sub(r'`\1ssue #\2 `__', + content = issue_re.sub(r'`\1ssue #\2 `__', content) content = whatsnew_re.sub(r'\1', content) # remove first 3 lines as they are the main heading