fix check for concept adapter when retrieving IndexAttributes adapter
This commit is contained in:
parent
ce09c717e5
commit
ef927c830e
1 changed files with 2 additions and 1 deletions
|
@ -438,7 +438,8 @@ class IndexAttributes(object):
|
||||||
|
|
||||||
@Lazy
|
@Lazy
|
||||||
def adaptedIndexAttributes(self):
|
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 component.queryAdapter(self.adapted, IIndexAttributes)
|
||||||
return IIndexAttributes(self.adapted, None)
|
return IIndexAttributes(self.adapted, None)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue