bugfix with po file import
bzr revid: christophe@tinyerp.com-20080930130726-j4n4gmlgz8wv92fv
This commit is contained in:
parent
4f80a8e213
commit
8c3108a829
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue