This commit is contained in:
Kovid Goyal 2009-08-02 09:27:38 -06:00
parent 5d800d0d19
commit cc368f186f

View File

@ -188,7 +188,7 @@ class PageTree(LRFObject):
tag_map.update(LRFObject.tag_map) tag_map.update(LRFObject.tag_map)
def __iter__(self): def __iter__(self):
for id in self._contents: for id in getattr(self, '_contents', []):
yield self._document.objects[id] yield self._document.objects[id]
class StyleObject(object): class StyleObject(object):