Do not update several times.

This commit is contained in:
Michal Čihař
2010-03-15 12:07:38 +01:00
parent 447da3026c
commit 8069d08a22

View File

@@ -11,6 +11,7 @@ for origentry in po.fuzzy_entries():
if origentry.msgctxt is None and origentry.msgid == updateentry.msgid: if origentry.msgctxt is None and origentry.msgid == updateentry.msgid:
origentry.msgstr = updateentry.msgstr origentry.msgstr = updateentry.msgstr
origentry.flags.remove('fuzzy') origentry.flags.remove('fuzzy')
break
po.save() po.save()