diff --git a/ChangeLog b/ChangeLog index ba0976d61..55d1cfc4f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +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: