Commits

Ronny Pfannschmidt committed fe997f0

whops, its not data_func, its format_func

Comments (0)

Files changed (1)

pytest_gui/gtkui/filefails.py

 
     def create_ui(self):
         self.collection = ObjectList([
-            Column('nodeid', data_func=lambda x:x.split('::', 1)[-1]),
+            Column('nodeid',
+                   format_func=lambda x:x.split('::', 1)[-1]),
         ])
         self.collection.set_headers_visible(False)
         self.collection.show()