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