improving loops.integrator.collextion: identify external file via uniqueAddress property

git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@1719 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
helmutm 2007-05-05 16:44:36 +00:00
parent 411e169648
commit 1aebfb18a4

View file

@ -64,9 +64,7 @@ class ExternalCollectionAdapter(AdapterBase):
def update(self):
existing = self.context.getResources()
# TODO: use full address for checking for existing resources
old = dict((adapted(obj).uniqueAddress, obj) for obj in existing)
#old = dict((adapted(obj).externalAddress, obj) for obj in existing)
new = []
oldFound = []
provider = component.getUtility(IExternalCollectionProvider,