From b8cd071cd4f4fe49461815677142f80f0be99eea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D0=B0=D0=BC=D0=BE=D1=83=D0=BA=D0=B8=D0=BD=20=D0=90?= =?UTF-8?q?=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B9?= Date: Thu, 3 Jun 2010 09:23:05 +0400 Subject: [PATCH] Remove TitledHelpFormatter --- pym/cl_createhome_cmd.py | 3 +-- pym/cl_install_cmd.py | 3 +-- pym/cl_uninstall_cmd.py | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/pym/cl_createhome_cmd.py b/pym/cl_createhome_cmd.py index 8360fbf..403dff0 100644 --- a/pym/cl_createhome_cmd.py +++ b/pym/cl_createhome_cmd.py @@ -14,7 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. from cl_desktop import desktop, __app__, __version__ -from cl_opt import opt, TitledHelpFormatter +from cl_opt import opt import sys from cl_share_cmd import share_cmd @@ -49,7 +49,6 @@ class createhome_cmd(share_cmd): comment_examples=COMMENT_EXAMPLES, description=DESCRIPTION, option_list=CMD_OPTIONS + opt.variable_control+opt.color_control, - formatter=TitledHelpFormatter(), check_values=self.checkOpts) # Создаем объект логики self.logicObj = desktop() diff --git a/pym/cl_install_cmd.py b/pym/cl_install_cmd.py index ed7d37b..20520fa 100644 --- a/pym/cl_install_cmd.py +++ b/pym/cl_install_cmd.py @@ -15,7 +15,7 @@ # limitations under the License. from cl_desktop import install, __app__, __version__ -from cl_opt import opt, TitledHelpFormatter +from cl_opt import opt import sys from cl_share_cmd import share_cmd @@ -38,7 +38,6 @@ class install_cmd(share_cmd): usage=USAGE, description=DESCRIPTION, option_list=opt.variable_control+opt.color_control, - formatter=TitledHelpFormatter(), check_values=self.checkOpts) # Создаем объект логики self.logicObj = install() diff --git a/pym/cl_uninstall_cmd.py b/pym/cl_uninstall_cmd.py index a6c3631..12fc7ff 100644 --- a/pym/cl_uninstall_cmd.py +++ b/pym/cl_uninstall_cmd.py @@ -15,7 +15,7 @@ # limitations under the License. from cl_desktop import uninstall, __app__, __version__ -from cl_opt import opt, TitledHelpFormatter +from cl_opt import opt import sys from cl_share_cmd import share_cmd @@ -38,7 +38,6 @@ class uninstall_cmd(share_cmd): usage=USAGE, description=DESCRIPTION, option_list=opt.variable_control+opt.color_control, - formatter=TitledHelpFormatter(), check_values=self.checkOpts) # Создаем объект логики self.logicObj = uninstall()