[Checkins] SVN: z3ext.layoutform/trunk/ Convert 'forms', 'groups', 'subforms', 'views' to tuple
Nikolay Kim
fafhrd91 at gmail.com
Tue May 12 04:12:42 EDT 2009
Log message for revision 99862:
Convert 'forms','groups','subforms','views' to tuple
Changed:
U z3ext.layoutform/trunk/CHANGES.txt
U z3ext.layoutform/trunk/src/z3ext/layoutform/form.py
-=-
Modified: z3ext.layoutform/trunk/CHANGES.txt
===================================================================
--- z3ext.layoutform/trunk/CHANGES.txt 2009-05-12 08:09:23 UTC (rev 99861)
+++ z3ext.layoutform/trunk/CHANGES.txt 2009-05-12 08:12:42 UTC (rev 99862)
@@ -3,6 +3,9 @@
=======
+- Convert 'forms','groups','subforms','views' to tuple
+
+
1.3.5 (2009-04-15)
------------------
Modified: z3ext.layoutform/trunk/src/z3ext/layoutform/form.py
===================================================================
--- z3ext.layoutform/trunk/src/z3ext/layoutform/form.py 2009-05-12 08:09:23 UTC (rev 99861)
+++ z3ext.layoutform/trunk/src/z3ext/layoutform/form.py 2009-05-12 08:12:42 UTC (rev 99862)
@@ -107,16 +107,16 @@
views.append((form.weight, form.__name__, form))
groups.sort()
- self.groups = [form for weight, name, form in groups]
+ self.groups = tuple([form for weight, name, form in groups])
subforms.sort()
- self.subforms = [form for weight, name, form in subforms]
+ self.subforms = tuple([form for weight, name, form in subforms])
forms.sort()
- self.forms = [form for weight, name, form in forms]
+ self.forms = tuple([form for weight, name, form in forms])
views.sort()
- self.views = [view for weight, name, view in views]
+ self.views = tuple([view for weight, name, view in views])
def update(self):
self.updateWidgets()
More information about the Checkins
mailing list