[Commits] (pavlov) oops, need a default value for kind.

commits at osafoundation.org commits at osafoundation.org
Thu Jul 1 13:52:03 PDT 2004


Commit by: pavlov
Modified files:
chandler/parcels/osaf/contentmodel/ItemCollection.py 1.3 1.4

Log message:
oops, need a default value for kind.


ViewCVS links:
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/contentmodel/ItemCollection.py.diff?r1=text&tr1=1.3&r2=text&tr2=1.4

Index: chandler/parcels/osaf/contentmodel/ItemCollection.py
diff -u chandler/parcels/osaf/contentmodel/ItemCollection.py:1.3 chandler/parcels/osaf/contentmodel/ItemCollection.py:1.4
--- chandler/parcels/osaf/contentmodel/ItemCollection.py:1.3	Thu Jul  1 13:12:56 2004
+++ chandler/parcels/osaf/contentmodel/ItemCollection.py	Thu Jul  1 13:52:01 2004
@@ -1,5 +1,5 @@
-__revision__  = "$Revision: 1.3 $"
-__date__      = "$Date: 2004/07/01 20:12:56 $"
+__revision__  = "$Revision: 1.4 $"
+__date__      = "$Date: 2004/07/01 20:52:01 $"
 __copyright__ = "Copyright (c) 2004 Open Source Applications Foundation"
 __license__   = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
 
@@ -7,7 +7,7 @@
 import application.Globals as Globals
 
 class ItemCollection(Item.Item):
-    def __init__(self, name=None, parent=None, kind):
+    def __init__(self, name=None, parent=None, kind=None):
         if not parent:
             parent = Globals.repository.findPath('//userdata/contentitems')
         super(ItemCollection, self).__init__(name, parent, kind)



More information about the Commits mailing list