From: Nick Retallack Date: Mon, 22 Jul 2013 21:05:06 +0000 (-0700) Subject: Don't throw away a catalog's obsolete messages when you update it X-Git-Tag: 1.0~57^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84485c747e485d0ea674a96daf33242a35c65b39;p=thirdparty%2Fbabel.git Don't throw away a catalog's obsolete messages when you update it --- diff --git a/babel/messages/catalog.py b/babel/messages/catalog.py index 3d90cf62..4f3afcb0 100644 --- a/babel/messages/catalog.py +++ b/babel/messages/catalog.py @@ -823,7 +823,6 @@ class Catalog(object): self[message.id] = message - self.obsolete = odict() for msgid in remaining: if no_fuzzy_matching or msgid not in fuzzy_matches: self.obsolete[msgid] = remaining[msgid]