pep2rss.py: Use HTTPS for RSS links (#1680)
This commit is contained in:
parent
e52ed7f4df
commit
984bac27c9
|
@ -48,7 +48,7 @@ for dt, full_path in peps_with_dt[:10]:
|
||||||
pass
|
pass
|
||||||
title = firstline_startingwith(full_path, 'Title:')
|
title = firstline_startingwith(full_path, 'Title:')
|
||||||
author = firstline_startingwith(full_path, 'Author:')
|
author = firstline_startingwith(full_path, 'Author:')
|
||||||
url = 'http://www.python.org/dev/peps/pep-%0.4d' % n
|
url = 'https://www.python.org/dev/peps/pep-%0.4d/' % n
|
||||||
item = rssgen.RSSItem(
|
item = rssgen.RSSItem(
|
||||||
title = 'PEP %d: %s' % (n, title),
|
title = 'PEP %d: %s' % (n, title),
|
||||||
link = url,
|
link = url,
|
||||||
|
@ -65,7 +65,7 @@ procedure and schedules
|
||||||
""".strip()
|
""".strip()
|
||||||
rss = rssgen.RSS2(
|
rss = rssgen.RSS2(
|
||||||
title = 'Newest Python PEPs',
|
title = 'Newest Python PEPs',
|
||||||
link = 'http://www.python.org/dev/peps',
|
link = 'https://www.python.org/dev/peps/',
|
||||||
description = desc,
|
description = desc,
|
||||||
lastBuildDate = datetime.datetime.now(),
|
lastBuildDate = datetime.datetime.now(),
|
||||||
items = items)
|
items = items)
|
||||||
|
|
Loading…
Reference in New Issue