From c5839eebbafc4e8b77d86cb382db62153cd9df4e Mon Sep 17 00:00:00 2001 From: Griatch Date: Sun, 11 May 2014 07:28:44 +0200 Subject: [PATCH] Forgot a fix. --- src/utils/idmapper/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/idmapper/base.py b/src/utils/idmapper/base.py index 6d9414601b..832b5d1929 100755 --- a/src/utils/idmapper/base.py +++ b/src/utils/idmapper/base.py @@ -249,8 +249,8 @@ class SharedMemoryModel(Model): flush_cached_instance = classmethod(flush_cached_instance) def flush_instance_cache(cls): - cls.__instance_cache__ = WeakValueDictionary() - #cls.__instance_cache__ = {} #WeakValueDictionary() + #cls.__instance_cache__ = WeakValueDictionary() + cls.__instance_cache__ = {} #WeakValueDictionary() flush_instance_cache = classmethod(flush_instance_cache) def save(cls, *args, **kwargs):