support python 3
svn: r21769
This commit is contained in:
parent
dee6a9b829
commit
e670f27f3c
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user