* src/ArgHandler.py (cl_action): Properly call CLI tool.

* src/plugins/DumpGenderStats.py (__init__): Fix CLI mode.
	* src/PluginUtils/_Tool.py (cli_tool): Fix CLI tools.


svn: r7741
This commit is contained in:
Alex Roitman
2006-12-01 15:48:25 +00:00
parent 685c655b80
commit 4987b9b9b4
5 changed files with 12 additions and 7 deletions

View File

@@ -39,7 +39,9 @@ class DumpGenderStats(Tool.Tool, ManagedWindow.ManagedWindow):
def __init__(self, dbstate, uistate, options_class, name, callback=None):
self.label = _("Gender Statistics tool")
Tool.Tool.__init__(self, dbstate, options_class, name)
ManagedWindow.ManagedWindow.__init__(self,uistate,[],self.__class__)
if uistate:
ManagedWindow.ManagedWindow.__init__(self,uistate,[],
self.__class__)
stats_list = []