[Zope] Recursively comparing 2 folders' objects

Dieter Maurer dieter at handshake.de
Tue Jan 25 13:54:33 EST 2005


Pascal Peregrina wrote at 2005-1-24 21:21 +0100:
> ...
>Inside one Zope instance, I have 2 folders, representing a live site and a
>development site.
> ...
>I was thinking about a recursive function that would follow the development
>site folders structure, and on each folder, compare contents with live
>content, using comparison methods by meta type.

You can look at "bobobase_modification_time()" (time of the
last write to the ZODB) to shortcut the comparison for atomic (!)
objects.

-- 
Dieter


More information about the Zope mailing list