[Python-checkins] CVS: python/nondist/peps pep2html.py,1.17,1.18

Barry Warsaw bwarsaw@users.sourceforge.net
Tue, 20 Mar 2001 07:00:16 -0800


Update of /cvsroot/python/python/nondist/peps
In directory usw-pr-cvs1:/tmp/cvs-serv2514

Modified Files:
	pep2html.py 
Log Message:
fixfile(): Include a link to the plain text "PEP source" on each html
page.


Index: pep2html.py
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep2html.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** pep2html.py	2000/11/03 15:43:28	1.17
--- pep2html.py	2001/03/20 15:00:13	1.18
***************
*** 116,119 ****
--- 116,120 ----
      if os.path.basename(infile) != "pep-0000.txt":
          fo.write('[<b><a href=".">index</a></b>]\n')
+     fo.write('[<b><a href="pep-%04d.txt">PEP source</a></b>]\n' % int(pep))
      fo.write('</div>\n'
               '<div class="header">\n<table border="0">\n')