[POS-commit] r6374 - kiwi/trunk/examples/list

Johan Dahlin jdahlin at async.com.br
Mon Apr 16 13:43:55 BRT 2007


Author: jdahlin
Date: Mon Apr 16 13:43:54 2007
New Revision: 6374

Modified:
   kiwi/trunk/examples/list/sortable.py

Log:
Reoder the list a bit, to make sure no-one can mistake them for being sorted

Modified: kiwi/trunk/examples/list/sortable.py
==============================================================================
--- kiwi/trunk/examples/list/sortable.py	(original)
+++ kiwi/trunk/examples/list/sortable.py	Mon Apr 16 13:43:54 2007
@@ -10,9 +10,9 @@
 fruits = ObjectList([Column('name', data_type=str, sorted=True),
                Column('price', data_type=int)])
 
-for name, price in [('Apple', 4),
+for name, price in [('Kiwi', 8),
+                    ('Apple', 4),
                     ('Pineapple', 2),
-                    ('Kiwi', 8),
                     ('Banana', 3),
                     ('Melon', 5)]:
     fruits.append(Fruit(name, price))


More information about the POS-commit mailing list