From 244346dbcbe999bb921ee792ddc2ac222532cc56 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Thu, 22 Jan 2009 18:48:21 -0700 Subject: More work on xmlrpc stuff, started migrated more code to use errors2 instead of errors --- ipalib/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ipalib/cli.py') diff --git a/ipalib/cli.py b/ipalib/cli.py index 6b3ab7e5..0afe09c4 100644 --- a/ipalib/cli.py +++ b/ipalib/cli.py @@ -36,7 +36,7 @@ import frontend import backend import plugable import util -from errors2 import PublicError, CommandError +from errors2 import PublicError, CommandError, HelpError from constants import CLI_TAB from parameters import Password, Bytes @@ -398,7 +398,7 @@ class help(frontend.Application): return key = str(command) if key not in self.application: - raise errors.UnknownHelpError(key) + raise HelpError(topic=key) cmd = self.application[key] print 'Purpose: %s' % cmd.doc self.application.build_parser(cmd).print_help() -- cgit