Changed the order to its original order.

This commit is contained in:
Jeremy Fincher 2004-01-19 22:39:13 +00:00
parent 8228f7d7a1
commit cc672b882a

View File

@ -226,7 +226,7 @@ class Group(object):
for (name, child) in self.children.items(): for (name, child) in self.children.items():
if hasattr(child, 'value'): if hasattr(child, 'value'):
items.append((name, child)) items.append((name, child))
utils.sortBy(lambda (k, _): (len(k), k.lower(), k), items) utils.sortBy(lambda (k, _): (k.lower(), len(k), k), items)
for (name, value) in items: for (name, value) in items:
L.append(('%s.%s' % (self.getName(), self.originals[name]), value)) L.append(('%s.%s' % (self.getName(), self.originals[name]), value))
if getChildren: if getChildren: