[Checkins] SVN: z3ext.controlpanel/trunk/src/z3ext/controlpanel/container.py
Nikolay Kim
fafhrd at datacom.kz
Tue Feb 24 19:22:25 EST 2009
Log message for revision 97232:
Changed:
U z3ext.controlpanel/trunk/src/z3ext/controlpanel/container.py
-=-
Modified: z3ext.controlpanel/trunk/src/z3ext/controlpanel/container.py
===================================================================
--- z3ext.controlpanel/trunk/src/z3ext/controlpanel/container.py 2009-02-24 23:24:20 UTC (rev 97231)
+++ z3ext.controlpanel/trunk/src/z3ext/controlpanel/container.py 2009-02-25 00:22:25 UTC (rev 97232)
@@ -47,8 +47,14 @@
def _SampleContainer__data(self):
return self.data
+ def keys(self):
+ return self.data.keys()
+
+ def items(self):
+ return [(name, self[name]) for name in self]
+
def get(self, key, default=None):
- item = super(ContentContainerConfiglet, self).get(key, default)
+ item = self.data.get(key, default)
if item is default:
return item
More information about the Checkins
mailing list