Sync to trunk.

This commit is contained in:
John Schember 2009-08-02 12:21:09 -04:00
commit 024d47046e

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):