toscawidgets/tw2.forms — pull request #4 by amol- (2012-03-27 21:10:03+00:00)
Title: This avoids crashes with empty data sets

This change is required to avoid DataGrid crashing when an empty set of data is passed, as otherwise due to __len__ returning 0 causes value to evaluate at False which causes ValueError exception to be raised