From 1092ef14c4b49131bbe97ffa80124516c7282bab Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Fri, 2 Jun 2006 04:19:09 +0000 Subject: [PATCH] misc typos svn: r6845 --- ChangeLog | 7 ++++++- src/ReportBase/_CommandLineReport.py | 2 ++ src/ReportBase/_DrawFormatComboBox.py | 2 +- src/plugins/CmdRef.py | 3 ++- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6536c0f29..77efa527f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-05-31 Brian Matherly + * src/plugins/CmdRef.py: upgrade to new report interface + * src/ReportBase/_DrawFormatComboBox.py: missing imports + * src/ReportBase/CommandLineReport.py: typo + 2006-06-01 Don Allingham * src/DataViews/_PersonView.py: FilterEditor call sequence * src/FilterEditor/_EditFilter.py: added @@ -25,7 +30,7 @@ * src/Filters/_GenericFilter.py: fix inversion 2006-05-31 Brian Matherly - * src/plugins/vaious: upgrade to new report interface + * src/plugins/various: upgrade to new report interface 2006-05-31 Don Allingham * src/DataViews/_PersonView.py: call FilterEditor diff --git a/src/ReportBase/_CommandLineReport.py b/src/ReportBase/_CommandLineReport.py index 169541e39..d41263d52 100644 --- a/src/ReportBase/_CommandLineReport.py +++ b/src/ReportBase/_CommandLineReport.py @@ -29,6 +29,8 @@ import Utils import BaseDoc from _Constants import CATEGORY_TEXT, CATEGORY_DRAW, CATEGORY_BOOK from _PaperMenu import paper_sizes +import os +import const #------------------------------------------------------------------------ # diff --git a/src/ReportBase/_DrawFormatComboBox.py b/src/ReportBase/_DrawFormatComboBox.py index 696c46aa3..0cc3228ea 100644 --- a/src/ReportBase/_DrawFormatComboBox.py +++ b/src/ReportBase/_DrawFormatComboBox.py @@ -72,7 +72,7 @@ class DrawFormatComboBox(gtk.ComboBox): return PluginUtils.drawdoc_list[self.get_active()][4] def get_printable(self): - return PluginUtil.drawdoc_list[self.get_active()][5] + return PluginUtils.drawdoc_list[self.get_active()][5] def get_clname(self): return PluginUtils.drawdoc_list[self.get_active()][6] diff --git a/src/plugins/CmdRef.py b/src/plugins/CmdRef.py index b0bc509a3..00fa94623 100644 --- a/src/plugins/CmdRef.py +++ b/src/plugins/CmdRef.py @@ -39,6 +39,7 @@ 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._CommandLineReport import CommandLineReport import Utils #------------------------------------------------------------------------- @@ -97,7 +98,7 @@ class CmdRef(Tool.Tool): # Common report options item = cl_list[0] - clr = Report.CommandLineReport(db,item[0],item[1],item[3],{},True) + clr = CommandLineReport(db,item[0],item[1],item[3],{},True) self.write_ref(f,clr,level+2,id_counter,True) id_counter = id_counter + 1