bugfix with po file import

bzr revid: christophe@tinyerp.com-20080930130726-j4n4gmlgz8wv92fv
This commit is contained in:
Christophe Simonis 2008-09-30 15:07:26 +02:00
parent 4f80a8e213
commit 8c3108a829
1 changed files with 1 additions and 0 deletions

View File

@ -79,6 +79,7 @@ class TinyPoFile(object):
def __iter__(self):
self.buffer.seek(0)
self.lines = self.buffer.readlines()
self.lines.append('') # ensure that the file ends with at least an empty line
self.first = True
self.tnrs= []
return self