From d88fa26ab790b4dfa829fd2967fe50db7893c303 Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Sat, 6 Dec 2008 05:29:33 +0000 Subject: [PATCH] 0002184: BUG: IndexError: tuple index out of range svn: r11425 --- src/ReportBase/_CommandLineReport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ReportBase/_CommandLineReport.py b/src/ReportBase/_CommandLineReport.py index 8729a3e3d..8afc4920c 100644 --- a/src/ReportBase/_CommandLineReport.py +++ b/src/ReportBase/_CommandLineReport.py @@ -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.