Mercurial > p > roundup > code
diff website/issues/extensions/local_replace.py @ 6969:ca62a7cc3c9b
change url into https from http.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 13 Sep 2022 20:54:10 -0400 |
| parents | 042c50d5e06e |
| children | 9c3ec0a5c7fc |
line wrap: on
line diff
--- a/website/issues/extensions/local_replace.py Tue Sep 13 18:40:43 2022 -0400 +++ b/website/issues/extensions/local_replace.py Tue Sep 13 20:54:10 2022 -0400 @@ -4,7 +4,7 @@ hg_url_base = r'http://sourceforge.net/p/roundup/code/ci/' substitutions = [ (re.compile(r'debian:\#(?P<id>\d+)'), - r'<a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=\g<id>">debian#\g<id></a>' ), + r'<a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=\g<id>">debian#\g<id></a>' ), (re.compile(r'\#(?P<ws>\s*)(?P<id>\d+)'), r"<a href='issue\g<id>'>#\g<ws>\g<id></a>" ), (re.compile(r'(?P<prews>^|\s+)issue(?P<ws>\s*)(?P<id>\d+)'),
