0002184: BUG: IndexError: tuple index out of range

svn: r11425
This commit is contained in:
Brian Matherly 2008-12-06 05:29:33 +00:00
parent 73ae4d8bb1
commit d88fa26ab7

View File

@ -288,7 +288,7 @@ class CommandLineReport:
if self.category == CATEGORY_TEXT:
for item in pmgr.get_text_doc_list():
if item[7] == self.options_dict['off']:
if item[6] == self.options_dict['off']:
self.format = item[1]
if self.format is None:
# Pick the first one as the default.