]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
Don't throw away a catalog's obsolete messages when you update it 29/head
authorNick Retallack <nick@bitcasa.com>
Mon, 22 Jul 2013 21:05:06 +0000 (14:05 -0700)
committerNick Retallack <nick@bitcasa.com>
Mon, 22 Jul 2013 21:24:55 +0000 (14:24 -0700)
babel/messages/catalog.py

index 3d90cf62cd87983efd624f7433f3a5543e57c2fa..4f3afcb03f0e16a98c87b27eaf59e90322012c0e 100644 (file)
@@ -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]