Remove redundant variable

svn: r18705
This commit is contained in:
Nick Hall 2012-01-05 18:54:43 +00:00
parent fea6a2c9e3
commit 6ddb6dbcd1
2 changed files with 0 additions and 4 deletions

View File

@ -502,7 +502,6 @@ class PersonTreeModel(PeopleBaseModel, TreeBaseModel):
Unset all elements that can prevent garbage collection
"""
PeopleBaseModel.destroy(self)
self.hmap = None
self.number_items = None
TreeBaseModel.destroy(self)
@ -510,7 +509,6 @@ class PersonTreeModel(PeopleBaseModel, TreeBaseModel):
"""See TreeBaseModel, we also set some extra lru caches
"""
self.number_items = self.db.get_number_of_people
self.hmap = [self.column_header] + [None]*len(self.smap)
def clear_cache(self, handle=None):
""" Clear the LRU cache

View File

@ -288,7 +288,6 @@ class PlaceTreeModel(PlaceBaseModel, TreeBaseModel):
Unset all elements that can prevent garbage collection
"""
PlaceBaseModel.destroy(self)
self.hmap = None
self.number_items = None
TreeBaseModel.destroy(self)
@ -297,7 +296,6 @@ class PlaceTreeModel(PlaceBaseModel, TreeBaseModel):
PlaceBaseModel
"""
self.number_items = self.db.get_number_of_places
self.hmap = [self.column_header] + [None]*14
def get_tree_levels(self):
"""