[Checkins] SVN: Products.GenericSetup/trunk/Products/GenericSetup/zcml.py The description isn't required on nested upgrade step groups.

Hanno Schlichting plone at hannosch.info
Sun Apr 13 14:56:41 EDT 2008


Log message for revision 85336:
  The description isn't required on nested upgrade step groups.
  

Changed:
  U   Products.GenericSetup/trunk/Products/GenericSetup/zcml.py

-=-
Modified: Products.GenericSetup/trunk/Products/GenericSetup/zcml.py
===================================================================
--- Products.GenericSetup/trunk/Products/GenericSetup/zcml.py	2008-04-13 16:58:10 UTC (rev 85335)
+++ Products.GenericSetup/trunk/Products/GenericSetup/zcml.py	2008-04-13 18:56:40 UTC (rev 85336)
@@ -267,9 +267,10 @@
         self.sortkey = sortkey
         self.id = None
 
-    def upgradeStep(self, _context, title, description, handler, checker=None):
-        step = UpgradeStep(title, self.profile, self.source, self.dest, description,
-                           handler, checker, self.sortkey)
+    def upgradeStep(self, _context, title, handler,
+                    description=None, checker=None):
+        step = UpgradeStep(title, self.profile, self.source, self.dest,
+                           description, handler, checker, self.sortkey)
         if self.id is None:
             self.id = str(abs(hash('%s%s%s%s' % (title, self.source, self.dest,
                                                  self.sortkey))))



More information about the Checkins mailing list