From 2f0cf7d5b603c41581365053ddd52a53423686d3 Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Wed, 27 Mar 2013 19:56:54 +0000 Subject: [PATCH] support python 3 svn: r21770 --- 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