[Checkins] SVN: z3ext.controlpanel/trunk/src/z3ext/controlpanel/storage.py
Nikolay Kim
fafhrd at datacom.kz
Thu Aug 28 10:17:52 EDT 2008
Log message for revision 90549:
Changed:
U z3ext.controlpanel/trunk/src/z3ext/controlpanel/storage.py
-=-
Modified: z3ext.controlpanel/trunk/src/z3ext/controlpanel/storage.py
===================================================================
--- z3ext.controlpanel/trunk/src/z3ext/controlpanel/storage.py 2008-08-28 12:18:40 UTC (rev 90548)
+++ z3ext.controlpanel/trunk/src/z3ext/controlpanel/storage.py 2008-08-28 14:17:52 UTC (rev 90549)
@@ -70,8 +70,8 @@
@component.adapter(ISite, IObjectCopiedEvent)
-def dataStorageCopied(site, event):
- ann = IAnnotations(removeAllProxies(event.original), None)
+def dataStorageCopied(site, appevent):
+ ann = IAnnotations(removeAllProxies(appevent.original), None)
if ann is None:
return
@@ -94,7 +94,7 @@
if isinstance(obj, OOBTree):
for subkey, subobj in obj.items():
subcopy = locationCopy(subobj)
- if ILocation.providedBy(obj):
+ if ILocation.providedBy(subobj):
subcopy.__parent__ = subcopy.__name__ = None
event.notify(ObjectCopiedEvent(subcopy, subobj))
More information about the Checkins
mailing list