From f0d54fa01b024f740cd421e8de95b2a9a6c29a13 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 21 Jan 2010 12:24:05 -0500 Subject: [PATCH] Add _uuids_cache management to BugDir._clear_bugs --- libbe/bugdir.py | 1 + 1 file changed, 1 insertion(+) diff --git a/libbe/bugdir.py b/libbe/bugdir.py index 7e47c33..006f0b8 100644 --- a/libbe/bugdir.py +++ b/libbe/bugdir.py @@ -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): -- 2.26.2