fix check for concept adapter when retrieving IndexAttributes adapter

This commit is contained in:
Helmut Merz 2012-06-01 13:28:25 +02:00
parent ce09c717e5
commit ef927c830e

View file

@ -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)