[FIX] tools>translate: fixed bug, missing line in merging

bzr revid: hmo@tinyerp.com-20091126140935-tvmgl9bcfb90gocs
This commit is contained in:
Harry (Open ERP)
2009-11-26 19:39:35 +05:30
parent f97add6d7e
commit 1107ca9c9d
+3
View File
@@ -190,6 +190,9 @@ class TinyPoFile(object):
if 0 == len(self.lines):
raise StopIteration()
line = self.lines.pop(0).strip()
while line.startswith('#'):
if line.startswith('#~ '):
break
if line.startswith('#:'):
if ' ' in line[2:].strip():
for lpart in line[2:].strip().split(' '):