##// END OF EJS Templates
fix ValueError format message
MinRK -
Show More
@@ -114,7 +114,7 b' def _widget_from_abbrev(abbrev):'
114
114
115 widget = _widget_abbrev(abbrev)
115 widget = _widget_abbrev(abbrev)
116 if widget is None:
116 if widget is None:
117 raise ValueError("%r cannot be transformed to a Widget" % abbrev)
117 raise ValueError("%r cannot be transformed to a Widget" % (abbrev,))
118 return widget
118 return widget
119
119
120 def _yield_abbreviations_for_parameter(param, kwargs):
120 def _yield_abbreviations_for_parameter(param, kwargs):
General Comments 0
You need to be logged in to leave comments. Login now