From 0527b7e0ea3d1b089191edaa5620f7277e87670e Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 21 Apr 2008 13:16:41 +0000 Subject: [PATCH] move __name to static attribute of CacheItem class --- src/common/caps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/caps.py b/src/common/caps.py index 62c449879..ac8e56363 100644 --- a/src/common/caps.py +++ b/src/common/caps.py @@ -89,11 +89,11 @@ class CapsCache(object): # to CapsCacheItem object # __CacheItem is a class that stores data about particular # client (node/version pair) - self.__names = {} self.__cache = {} class CacheItem(object): ''' TODO: logging data into db ''' + self.__names = {} def __init__(ciself, hash_method, hash): # cached into db ciself.hash_method = hash_method