[Zope-CVS] CVS: Products/BTreeFolder2 - BTreeFolder2.py:1.6
Shane Hathaway
shane@cvs.zope.org
Wed, 22 May 2002 11:13:13 -0400
Update of /cvs-repository/Products/BTreeFolder2
In directory cvs.zope.org:/tmp/cvs-serv32468
Modified Files:
BTreeFolder2.py
Log Message:
Fixed a security declaration and a comment.
=== Products/BTreeFolder2/BTreeFolder2.py 1.5 => 1.6 ===
_tree = None # OOBTree: { id -> object }
_count = None # A BTrees.Length
- _v_nextid = 0 # The next computed ID
+ _v_nextid = 0 # The integer component of the next generated ID
_mt_index = None # OOBTree: { meta_type -> OIBTree: { id -> 1 } }
title = ''
@@ -367,8 +367,7 @@
# Utility for generating unique IDs.
- security.declareProtected(access_contents_information,
- 'generateUniqueId')
+ security.declareProtected(access_contents_information, 'generateId')
def generateId(self, prefix='item', suffix=''):
"""Returns an ID not used yet by this folder.