Add _uuids_cache management to BugDir._clear_bugs
authorW. Trevor King <wking@drexel.edu>
Thu, 21 Jan 2010 17:24:05 +0000 (12:24 -0500)
committerW. Trevor King <wking@drexel.edu>
Thu, 21 Jan 2010 17:24:05 +0000 (12:24 -0500)
libbe/bugdir.py

index 7e47c33960ddfad753c0960284679b60e7aefccd..006f0b82ba4917db72bf7fa00e39cf830d6db6a1 100644 (file)
@@ -248,6 +248,7 @@ class BugDir (list, settings_object.SavedSettingsObject):
     def _clear_bugs(self):
         while len(self) > 0:
             self.pop()
+        del(self._uuids_cache)
         self._bug_map_gen()
 
     def _load_bug(self, uuid):