Author: asterix Date: 2008-04-21 15:16:41 +0200 (Mon, 21 Apr 2008) New Revision: 9512
Modified: trunk/src/common/caps.py Log: move __name to static attribute of CacheItem class
Modified: trunk/src/common/caps.py =================================================================== --- trunk/src/common/caps.py 2008-04-21 13:13:35 UTC (rev 9511) +++ trunk/src/common/caps.py 2008-04-21 13:16:41 UTC (rev 9512) @@ -89,11 +89,11 @@ # 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