fixfile(): Discussions-To: can contain an address or a url. Adjust
the text accordingly.
This commit is contained in:
parent
9daec1404d
commit
11272e5033
|
@ -130,6 +130,9 @@ def fixfile(infile, outfile):
|
|||
mailtos.append(
|
||||
'<a href="mailto:%s?subject=PEP%%20%s">%s</a>' %
|
||||
(addr, pep, addr))
|
||||
elif addr.startswith('http:'):
|
||||
mailtos.append(
|
||||
'<a href="%s">%s</a>' % (addr, addr))
|
||||
else:
|
||||
mailtos.append(addr)
|
||||
v = ' '.join(mailtos)
|
||||
|
|
Loading…
Reference in New Issue