Browse Source

bitdoc: Fixup against recent core changes

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie 14 years ago
parent
commit
ee8bf6df16
1 changed files with 2 additions and 0 deletions
  1. 2 0
      bin/bitdoc

+ 2 - 0
bin/bitdoc

@@ -453,6 +453,8 @@ def main():
     except bb.parse.ParseError:
         bb.fatal( "Unable to parse %s" % config_file )
 
+    if isinstance(documentation, dict):
+        documentation = documentation[""]
 
     # Assuming we've the file loaded now, we will initialize the 'tree'
     doc = Documentation()