Fix python3 syntax error

svn: r22740
This commit is contained in:
John Ralls 2013-07-27 17:25:08 +00:00
parent 1185b58986
commit a8267740a3

View File

@ -526,7 +526,7 @@ class EmbeddedList(ButtonTab):
column = Gtk.TreeViewColumn(name, self.pb_renderer)
column.set_cell_data_func(self.pb_renderer, self.icon_func, pair[1])
else:
raise NotImplementedError, 'Unknown column type'
raise NotImplementedError('Unknown column type: %s, with column name %s' % (type_col, self._column_names[pair[1]][3]))
if col_icon is not None:
image = Gtk.Image()
image.set_from_stock(col_icon, Gtk.IconSize.MENU)