[Zope-CVS] SVN: zversioning/trunk/src/versioning/storage.py VersionHistory now implements 'INameHoose' directly

Grégoire Weber zope.org at incept.ch
Wed Oct 13 12:52:39 EDT 2004


Log message for revision 28107:
  VersionHistory now implements 'INameHoose' directly

Changed:
  U   zversioning/trunk/src/versioning/storage.py

-=-
Modified: zversioning/trunk/src/versioning/storage.py
===================================================================
--- zversioning/trunk/src/versioning/storage.py	2004-10-13 16:47:39 UTC (rev 28106)
+++ zversioning/trunk/src/versioning/storage.py	2004-10-13 16:52:38 UTC (rev 28107)
@@ -16,6 +16,7 @@
 
 from zope.interface import implements
 from zope.app.copypastemove.interfaces import IObjectCopier 
+from zope.app.container.interfaces import INameChooser
 from zope.app.folder import Folder
 from zope.app.exception.interfaces import UserError
 
@@ -29,7 +30,7 @@
         is labeled '001', '002' etc.
     """
     
-    implements(IVersionHistory)
+    implements(IVersionHistory, INameChooser)
     
     def checkName(self, name, object):
         """Check whether an object name is valid.



More information about the Zope-CVS mailing list