From ef927c830e08d5df72f7a7642153ab770d7b5f5d Mon Sep 17 00:00:00 2001 From: Helmut Merz Date: Fri, 1 Jun 2012 13:28:25 +0200 Subject: [PATCH] fix check for concept adapter when retrieving IndexAttributes adapter --- concept.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/concept.py b/concept.py index 8d7d2e5..8621977 100644 --- a/concept.py +++ b/concept.py @@ -438,7 +438,8 @@ class IndexAttributes(object): @Lazy def adaptedIndexAttributes(self): - if self.adapted != self.context: + #if self.adapted != self.context: + if isinstance(self.adapted, AdapterBase): #return component.queryAdapter(self.adapted, IIndexAttributes) return IIndexAttributes(self.adapted, None)