DumbWriter.send_paragraph(): Fix problem with DumbWriter reported to

the newsgroup by Raymond Tong Leng Ng <rntl@yahoo.com>.
This commit is contained in:
Fred Drake 1999-01-12 18:13:27 +00:00
parent e23cde2f8d
commit f4bb656a4f
1 changed files with 1 additions and 1 deletions

View File

@ -331,7 +331,7 @@ class DumbWriter(NullWriter):
self.atbreak = 0 self.atbreak = 0
def send_paragraph(self, blankline): def send_paragraph(self, blankline):
self.file.write('\n' + '\n'*blankline) self.file.write('\n'*blankline)
self.col = 0 self.col = 0
self.atbreak = 0 self.atbreak = 0