diff options
Diffstat (limited to 'Doc')
-rwxr-xr-x | Doc/tools/sgmlconv/latex2esis.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/tools/sgmlconv/latex2esis.py b/Doc/tools/sgmlconv/latex2esis.py index 32115a8..28433c7 100755 --- a/Doc/tools/sgmlconv/latex2esis.py +++ b/Doc/tools/sgmlconv/latex2esis.py @@ -109,7 +109,9 @@ class Conversion: self.write = ofp.write self.ofp = ofp self.table = table - self.line = string.join([s.rstrip() for s in ifp.readlines()], "\n") + L = [s.rstrip() for s in ifp.readlines()] + L.append("") + self.line = string.join(L, "\n") self.preamble = 1 def convert(self): |