bug fix on loops.type
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@1617 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
483a730c6c
commit
b7ca4ca0c1
1 changed files with 2 additions and 1 deletions
3
type.py
3
type.py
|
@ -107,7 +107,8 @@ class LoopsType(BaseType):
|
|||
|
||||
@Lazy
|
||||
def options(self):
|
||||
return ITypeConcept(self.typeProvider).options or []
|
||||
tp = self.typeProvider
|
||||
return tp and ITypeConcept(tp).options or []
|
||||
|
||||
@Lazy
|
||||
def optionsDict(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue