From dd3b3311a3979fbe4756e637b2993bb0853943fc Mon Sep 17 00:00:00 2001 From: Raphael Ackermann Date: Mon, 7 Jan 2008 16:30:36 +0000 Subject: [PATCH] 2008-01-07 Raphael Ackermann * src/docgen/ODFDoc.py: remove duplicate import * src/docgen/LaTeXDoc.py :added support for opening latex editor diff --git a/src/plugins/CmdRef.py b/src/plugins/CmdRef.py index 01e53c9ec..523c0cba3 100644 --- a/src/plugins/CmdRef.py +++ b/src/plugins/CmdRef.py @@ -38,9 +38,8 @@ from gettext import gettext as _ # #------------------------------------------------------------------------- from PluginUtils import Tool, cl_list, cli_tool_list, register_tool -from ReportBase import Report, CATEGORY_BOOK, CATEGORY_CODE, CATEGORY_WEB +from ReportBase import CATEGORY_BOOK, CATEGORY_CODE, CATEGORY_WEB from ReportBase._CommandLineReport import CommandLineReport -import Utils #------------------------------------------------------------------------- # @@ -73,8 +72,6 @@ class CmdRef(Tool.Tool): else: level = 0 - cli = int(uistate == None) - f = tempfile.NamedTemporaryFile() fname = f.name id_counter = 0 @@ -166,10 +163,7 @@ class CmdRef(Tool.Tool): import GraphViz oclass = GraphViz.GraphVizOptions(item[0]) elif category == CATEGORY_WEB: - if item[0] == "webpage": - import WebPage - oclass = WebPage.WebReportOptions(item[0]) - elif item[0] == "navwebpage": + if item[0] == "navwebpage": import NarrativeWeb oclass = NarrativeWeb.WebReportOptions(item[0]) elif category == True: