From 11272e50330112593706ecde4416eca9fb7a2ac1 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Wed, 21 Mar 2001 18:59:03 +0000 Subject: [PATCH] fixfile(): Discussions-To: can contain an address or a url. Adjust the text accordingly. --- pep2html.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pep2html.py b/pep2html.py index 7abb8f556..747d61674 100755 --- a/pep2html.py +++ b/pep2html.py @@ -130,6 +130,9 @@ def fixfile(infile, outfile): mailtos.append( '%s' % (addr, pep, addr)) + elif addr.startswith('http:'): + mailtos.append( + '%s' % (addr, addr)) else: mailtos.append(addr) v = ' '.join(mailtos)