2008-01-07 Raphael Ackermann <raphael.ackermann@gmail.com
* src/plugins/CmdRef.py: clean up unused and broken imports and vars 0001494: unresolved import WebPage in CmdRef.py svn: r9742
This commit is contained in:
		@@ -1,3 +1,7 @@
 | 
			
		||||
2008-01-07 Raphael Ackermann <raphael.ackermann@gmail.com
 | 
			
		||||
	* src/plugins/CmdRef.py: clean up unused and broken imports and vars
 | 
			
		||||
	0001494: unresolved import WebPage in CmdRef.py
 | 
			
		||||
 | 
			
		||||
2008-01-07  Raphael Ackermann <raphael.ackermann@gmail.com>
 | 
			
		||||
	* src/docgen/ODFDoc.py: remove duplicate import
 | 
			
		||||
	* src/docgen/LaTeXDoc.py :added support for opening latex editor
 | 
			
		||||
 
 | 
			
		||||
@@ -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:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user