From f593c5c2ac5227925f586cf480d981b207b7d371 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 21 Apr 2008 14:16:20 +0000 Subject: [PATCH] fix property definition --- src/common/caps.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/caps.py b/src/common/caps.py index ac8e56363..9c24db8ee 100644 --- a/src/common/caps.py +++ b/src/common/caps.py @@ -115,7 +115,7 @@ class CapsCache(object): for feature in value: ciself._features.append(self.__names.setdefault(feature, feature)) - features = property(ciself._get_features, ciself._set_features) + features = property(_get_features, _set_features) def _get_identities(ciself): return ciself._identities @@ -124,7 +124,7 @@ class CapsCache(object): for identity in value: ciself._identities.append(self.__names.setdefault(identity, identity)) - identities = property(ciself._get_identities, ciself._set_identities) + identities = property(_get_identities, _set_identities) def update(ciself, identities, features): # NOTE: self refers to CapsCache object, not to CacheItem