support python 3
svn: r21770
This commit is contained in:
parent
4c8d6a3215
commit
2f0cf7d5b6
@ -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