bugfix for SourceInfo adapter: use context also for __parent__ to allow security checking

git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@1964 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
helmutm 2007-08-27 17:31:46 +00:00
parent 57a5f126b5
commit 4ccf4d033c

View file

@ -40,7 +40,7 @@ class ExternalSourceInfo(object):
adapts(ILoopsObject)
def __init__(self, context):
self.context = context
self.context = self.__parent__ = context
def getSourceInfo(self):
return getattr(self.context, sourceInfoAttrName, PersistentMapping())