[CMF-checkins] CVS: CMF/CMFUid - UniqueIdGeneratorTool.py:1.9
UniqueIdAnnotationTool.py:1.6
Grégoire Weber
zope.org at incept.ch
Sun Aug 8 20:27:33 EDT 2004
Update of /cvs-repository/CMF/CMFUid
In directory cvs.zope.org:/tmp/cvs-serv12874
Modified Files:
UniqueIdGeneratorTool.py UniqueIdAnnotationTool.py
Log Message:
- made all methods private
=== CMF/CMFUid/UniqueIdGeneratorTool.py 1.8 => 1.9 ===
--- CMF/CMFUid/UniqueIdGeneratorTool.py:1.8 Fri Aug 6 18:58:08 2004
+++ CMF/CMFUid/UniqueIdGeneratorTool.py Sun Aug 8 20:27:33 2004
@@ -59,13 +59,14 @@
# counter handles zodb conflicts for us.
self._uid_counter = Length(0)
- security.declareProtected(ManagePortal, '__call__')
+ security.declarePrivate('__call__')
def __call__(self):
"""See IUniqueIdGenerator.
"""
self._uid_counter.change(+1)
return self._uid_counter()
+ security.declarePrivate('convert')
def convert(self, uid):
"""See IUniqueIdGenerator.
"""
=== CMF/CMFUid/UniqueIdAnnotationTool.py 1.5 => 1.6 ===
--- CMF/CMFUid/UniqueIdAnnotationTool.py:1.5 Thu Aug 5 18:08:18 2004
+++ CMF/CMFUid/UniqueIdAnnotationTool.py Sun Aug 8 20:27:33 2004
@@ -135,7 +135,7 @@
'label': 'Remove the objects unique id on clone (CAUTION !!!)'},
)
- security.declareProtected(ManagePortal, '__call__')
+ security.declarePrivate('__call__')
def __call__(self, obj, id):
"""See IUniqueIdAnnotationManagement.
"""
More information about the CMF-checkins
mailing list