From a8267740a3abdbcddc267756c5d1f355801b005e Mon Sep 17 00:00:00 2001 From: John Ralls Date: Sat, 27 Jul 2013 17:25:08 +0000 Subject: [PATCH] Fix python3 syntax error svn: r22740 --- gramps/gui/editors/displaytabs/embeddedlist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gui/editors/displaytabs/embeddedlist.py b/gramps/gui/editors/displaytabs/embeddedlist.py index 5dcb077b7..a7327caf6 100644 --- a/gramps/gui/editors/displaytabs/embeddedlist.py +++ b/gramps/gui/editors/displaytabs/embeddedlist.py @@ -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)