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:
parent
411e169648
commit
1aebfb18a4
1 changed files with 0 additions and 2 deletions
|
@ -64,9 +64,7 @@ class ExternalCollectionAdapter(AdapterBase):
|
||||||
|
|
||||||
def update(self):
|
def update(self):
|
||||||
existing = self.context.getResources()
|
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).uniqueAddress, obj) for obj in existing)
|
||||||
#old = dict((adapted(obj).externalAddress, obj) for obj in existing)
|
|
||||||
new = []
|
new = []
|
||||||
oldFound = []
|
oldFound = []
|
||||||
provider = component.getUtility(IExternalCollectionProvider,
|
provider = component.getUtility(IExternalCollectionProvider,
|
||||||
|
|
Loading…
Add table
Reference in a new issue