Commits

Tim Gerundt committed 4a25b1d

Fix issue #9 POFile.merge drop fuzzy attributes from translations - Clone flags, to fix problems with update many PO files from one POT file

  • Participants
  • Parent commits 0ee0687

Comments (0)

Files changed (1)

         self.occurrences = other.occurrences
         self.comment = other.comment
         fuzzy = 'fuzzy' in self.flags
-        self.flags = other.flags
+        self.flags = other.flags[:] #Clone flags
         if fuzzy:
             self.flags.append('fuzzy')
         self.msgid_plural = other.msgid_plural