Fix for the case when no PEP title is given.
This commit is contained in:
parent
4c4c1d5b80
commit
b40374d85b
|
@ -139,6 +139,7 @@ def fixfile(infile, outfile):
|
|||
print >> fo, '[<b><a href="../">home</a></b>]'
|
||||
if basename <> 'pep-0000.txt':
|
||||
print >> fo, '[<b><a href=".">index</a></b>]'
|
||||
if pep:
|
||||
print >> fo, '[<b><a href="pep-%04d.txt">PEP source</a></b>]' % int(pep)
|
||||
print >> fo, '</div>'
|
||||
print >> fo, '<div class="header">\n<table border="0">'
|
||||
|
|
Loading…
Reference in New Issue