doclist.py: catch all if docname does match doc (? unidentified issue)

This commit is contained in:
Rushabh Mehta 2011-08-12 11:26:54 +05:30
parent a9f947f305
commit 36e7aeb2a5

View file

@ -68,6 +68,10 @@ class DocList:
self.doc = d
else:
self.children.append(d)
# catch all if no self.doc
if not self.doc:
self.doc, self.children = self.docs[0], self.docs[1:]
def make_obj(self):
"""