From 4d2ec05362ab50f645b3ff4b814155287149077c Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Thu, 9 Mar 2006 19:39:55 +0000 Subject: [PATCH] Update svn: r6116 --- src/PluginUtils/Tool/_Tool.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/PluginUtils/Tool/_Tool.py b/src/PluginUtils/Tool/_Tool.py index f8b774e6f..09b0f9652 100644 --- a/src/PluginUtils/Tool/_Tool.py +++ b/src/PluginUtils/Tool/_Tool.py @@ -1,7 +1,7 @@ # # Gramps - a GTK+/GNOME based genealogy program # -# Copyright (C) 2005 Donald N. Allingham +# Copyright (C) 2005-2006 Donald N. Allingham # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -44,7 +44,7 @@ import const import Utils import GenericFilter import NameDisplay -import Options +from _Options import * #------------------------------------------------------------------------- # @@ -240,16 +240,16 @@ def cli_tool(database,name,category,tool_class,options_class,options_str_dict): # Class handling options for plugins # #------------------------------------------------------------------------- -class OptionHandler(Options.OptionHandler): +class OptionHandler(OptionHandler): """ Implements handling of the options for the plugins. """ def __init__(self,module_name,options_dict,person_id=None): - Options.OptionHandler.__init__(self,module_name,options_dict,person_id) + OptionHandler.__init__(self,module_name,options_dict,person_id) def init_subclass(self): - self.collection_class = Options.OptionListCollection - self.list_class = Options.OptionList + self.collection_class = OptionListCollection + self.list_class = OptionList self.filename = const.tool_options #------------------------------------------------------------------------ @@ -257,7 +257,7 @@ class OptionHandler(Options.OptionHandler): # Tool Options class # #------------------------------------------------------------------------ -class ToolOptions(Options.Options): +class ToolOptions(Options): """ Defines options and provides handling interface.