--- a/Helpviewer/Bookmarks/BookmarkNode.py Fri Mar 11 08:55:14 2011 +0100 +++ b/Helpviewer/Bookmarks/BookmarkNode.py Fri Mar 11 16:51:57 2011 +0100 @@ -9,17 +9,18 @@ from PyQt4.QtCore import * + class BookmarkNode(object): """ Class implementing the bookmark node type. """ # possible bookmark node types - Root = 0 - Folder = 1 - Bookmark = 2 + Root = 0 + Folder = 1 + Bookmark = 2 Separator = 3 - def __init__(self, type_ = Root, parent = None): + def __init__(self, type_=Root, parent=None): """ Constructor @@ -70,7 +71,7 @@ """ return self._parent - def add(self, child, offset = -1): + def add(self, child, offset=-1): """ Public method to add/insert a child node.