diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2008-11-12 09:55:11 -0700 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2008-11-12 09:55:11 -0700 |
commit | f04aaff97c9c8c22b36706f2c6d4de6f23d06b95 (patch) | |
tree | 64937c8d6f7d394f4c077585d124ecd0331b1f80 /ipalib/cli.py | |
parent | 09161e399a61e2a548e9efb3c3abb2c7b47d5520 (diff) | |
download | freeipa.git-f04aaff97c9c8c22b36706f2c6d4de6f23d06b95.tar.gz freeipa.git-f04aaff97c9c8c22b36706f2c6d4de6f23d06b95.tar.xz freeipa.git-f04aaff97c9c8c22b36706f2c6d4de6f23d06b95.zip |
output_for_cli signature is now output_for_cli(textui, result, *args, **options)
Diffstat (limited to 'ipalib/cli.py')
-rw-r--r-- | ipalib/cli.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ipalib/cli.py b/ipalib/cli.py index 8878c212..d86647c6 100644 --- a/ipalib/cli.py +++ b/ipalib/cli.py @@ -535,7 +535,8 @@ class CLI(object): try: ret = cmd(**kw) if callable(cmd.output_for_cli): - cmd.output_for_cli(self.api.Backend.textui, ret, **kw) + (args, options) = cmd.params_2_args_options(kw) + cmd.output_for_cli(self.api.Backend.textui, ret, *args, **options) return 0 except socket.error, e: print e[1] |