summaryrefslogtreecommitdiff
path: root/doc/mklatex.py
diff options
context:
space:
mode:
authorscoder <none@none>2008-07-09 14:53:05 +0200
committerscoder <none@none>2008-07-09 14:53:05 +0200
commit00731c04d04879ce8aa66aca19e901b2e9d0823c (patch)
treebfa57153ffb122ee7414b34831137aca3f80477d /doc/mklatex.py
parentb0a032461d3d339b5b2dd51e7851590596644db6 (diff)
downloadpython-lxml-00731c04d04879ce8aa66aca19e901b2e9d0823c.tar.gz
[svn r3881] r4597@delle: sbehnel | 2008-07-09 14:50:23 +0200
docutils fix --HG-- branch : trunk
Diffstat (limited to 'doc/mklatex.py')
-rw-r--r--doc/mklatex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/mklatex.py b/doc/mklatex.py
index f90ceafd..a8efac57 100644
--- a/doc/mklatex.py
+++ b/doc/mklatex.py
@@ -86,7 +86,7 @@ def copy_epydoc_macros(src, dest, existing_header_lines):
doc = file(src, 'r')
out = file(dest, "w")
for line in doc:
- if line.startswith('%% generator'):
+ if line.startswith('%% generator') or line.startswith('% generated by '):
break
if line.startswith('%') or \
r'\documentclass' in line or \