diff --git a/concept.py b/concept.py index a4b25ae..528313d 100644 --- a/concept.py +++ b/concept.py @@ -437,7 +437,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)