[Zope-CVS] CVS: Products/BTreeFolder2 - CMFBTreeFolder.py:1.2

Shane Hathaway shane@zope.com
Wed, 30 Oct 2002 09:54:18 -0500


Update of /cvs-repository/Products/BTreeFolder2
In directory cvs.zope.org:/tmp/cvs-serv21762

Modified Files:
	CMFBTreeFolder.py 
Log Message:
Patch from Magnus Heino: allow an optional title in the constructor.


=== Products/BTreeFolder2/CMFBTreeFolder.py 1.1 => 1.2 ===
--- Products/BTreeFolder2/CMFBTreeFolder.py:1.1	Wed May  8 15:42:06 2002
+++ Products/BTreeFolder2/CMFBTreeFolder.py	Wed Oct 30 09:54:18 2002
@@ -55,6 +55,10 @@
     """
     meta_type = 'CMF BTree Folder'
 
+    def __init__(self, id, title=''):
+        PortalFolder.__init__(self, id, title)
+        BTreeFolder2Base.__init__(self, id)
+
     def _checkId(self, id, allow_dup=0):
         PortalFolder._checkId(self, id, allow_dup)
         BTreeFolder2Base._checkId(self, id, allow_dup)