From e670f27f3cb37e6dbfef33cfe0cc09cf9ec32e38 Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Wed, 27 Mar 2013 19:56:43 +0000 Subject: [PATCH] support python 3 svn: r21769 --- gramps/gui/views/treemodels/treebasemodel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gui/views/treemodels/treebasemodel.py b/gramps/gui/views/treemodels/treebasemodel.py index 79ef467f5..bfa91719a 100644 --- a/gramps/gui/views/treemodels/treebasemodel.py +++ b/gramps/gui/views/treemodels/treebasemodel.py @@ -829,7 +829,7 @@ class TreeBaseModel(GObject.Object, Gtk.TreeModel): :type path: Node """ if node is None: - raise Exception, 'Not allowed to add None as node' + raise Exception('Not allowed to add None as node') iter = self._new_iter(id(node)) return iter