Fixed a bug with the updating of the caching.

This commit is contained in:
Griatch 2012-02-26 01:10:20 +01:00
parent fb0d77c794
commit 24c4791e9e
3 changed files with 24 additions and 21 deletions

View file

@ -589,7 +589,7 @@ class ObjectDB(TypedObject):
"""
contents = self.contents
if exclude:
excluce = make_iter(exclude)
exclude = make_iter(exclude)
contents = [obj for obj in contents
if (obj not in exclude and obj not in exclude)]
for obj in contents: