dict["lastModified"] = f.last_modified
parent_idx = getattr(f, 'parent_idx')
if parent_idx: dict["parent"] = parent_idx
+ root = getattr(f, 'root')
+ if root: dict["root"] = root
dict["title"] = f.name.decode('utf-8')
dict["type"] = "text/x-moz-place-container"
self.folder_stack[-1].append(dict)
folder.id = fdict["id"]
folder.index = fdict.get("index")
folder.parent_idx = fdict.get("parent")
+ folder.root = fdict.get("root")
folder.name = encode(fdict["title"])
for record in fdict["children"]: