[Zope-CVS] CVS: Products/Ape/lib/apelib/fs - structure.py:1.11
Shane Hathaway
shane at zope.com
Fri Mar 26 10:53:19 EST 2004
Update of /cvs-repository/Products/Ape/lib/apelib/fs
In directory cvs.zope.org:/tmp/cvs-serv22823/lib/apelib/fs
Modified Files:
structure.py
Log Message:
Simplified OID generation.
The complexity existed to support path-based OIDs, but Ape no longer
needs path-based OIDs.
=== Products/Ape/lib/apelib/fs/structure.py 1.10 => 1.11 ===
--- Products/Ape/lib/apelib/fs/structure.py:1.10 Sat Mar 20 01:34:23 2004
+++ Products/Ape/lib/apelib/fs/structure.py Fri Mar 26 10:52:48 2004
@@ -97,7 +97,7 @@
assigned = {}
for objname, child_oid in data:
if child_oid is None:
- child_oid = event.conf.oid_gen.new_oid(event, objname, True)
+ child_oid = event.conf.oid_gen.new_oid(event)
assigned[objname] = child_oid
if assigned:
# Saw existing objects. Tell the connection what their OIDs are.
More information about the Zope-CVS
mailing list