From e579cc0e14015c007892311f64c91f56e1401eb3 Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Tue, 19 Feb 2008 04:32:57 +0000 Subject: [PATCH] 0001688: BUG when I clicked generate commandline plugin reference tool svn: r10058 --- ChangeLog | 4 ++++ src/plugins/CmdRef.py | 8 +------- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2f44b5326..2c180982e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-02-18 Brian Matherly + * src/plugins/CmdRef.py: + 0001688: BUG when I clicked generate commandline plugin reference tool + 2008-02-18 Brian Matherly * src/plugins/BookReport.py: * src/ReportBase/_ReportDialog.py: diff --git a/src/plugins/CmdRef.py b/src/plugins/CmdRef.py index 78f7f18cb..54c3e7fe9 100644 --- a/src/plugins/CmdRef.py +++ b/src/plugins/CmdRef.py @@ -103,10 +103,8 @@ class CmdRef(Tool.Tool): unsupported = item[5] if unsupported is True: continue - print item[0], item[3], item[5] category = item[1] - if category in (CATEGORY_BOOK, - CATEGORY_WEB): + if category in [CATEGORY_BOOK]: self.write_ref(f,item,level+2,id_counter,category) else: self.write_ref(f,item,level+2,id_counter,None) @@ -163,10 +161,6 @@ class CmdRef(Tool.Tool): elif category == CATEGORY_BOOK: import BookReport oclass = BookReport.BookOptions(item[0]) - elif category == CATEGORY_WEB: - if item[0] == "navwebpage": - import NarrativeWeb - oclass = NarrativeWeb.WebReportOptions(item[0]) elif category: # This is the common options case # so class is already instantiated