[Python-checkins] CVS: python/nondist/peps pep2html.py,1.7,1.8

Barry Warsaw python-dev@python.org
Thu, 27 Jul 2000 23:40:13 -0700


Update of /cvsroot/python/python/nondist/peps
In directory slayer.i.sourceforge.net:/tmp/cvs-serv12950

Modified Files:
	pep2html.py 
Log Message:
Moved "Local Variables:" string farther away from the end of the file,
so Emacs doesn't think this actually indicates the beginning of a
local variable section!


Index: pep2html.py
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep2html.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** pep2html.py	2000/07/27 19:18:59	1.7
--- pep2html.py	2000/07/28 06:40:10	1.8
***************
*** 20,23 ****
--- 20,24 ----
  HOST = "shell.sourceforge.net" # host for update
  HDIR = "/home/groups/python/htdocs/peps" # target host directory
+ LOCALVARS = "Local Variables:"
  
  DTD = ('<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"\n'
***************
*** 92,96 ****
          if line[0] != "\f":
              if line[0].strip():
!                 if line.strip() == "Local Variables:":
                      break
                  fo.write("</pre>\n<h3>%s</h3>\n<pre>" % line.strip())
--- 93,97 ----
          if line[0] != "\f":
              if line[0].strip():
!                 if line.strip() == LOCALVARS:
                      break
                  fo.write("</pre>\n<h3>%s</h3>\n<pre>" % line.strip())