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:
helmutm 2007-03-06 15:53:34 +00:00
parent 483a730c6c
commit b7ca4ca0c1

View file

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