diff options
author | Jan Cholasta <jcholast@redhat.com> | 2016-06-29 18:11:41 +0200 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2016-06-30 16:32:20 +0200 |
commit | 1a03bd322df65ecb9302f0cd70ec2b9bbfa3812e (patch) | |
tree | 5c3da13f3dd52f077325258c8a618389e9cf12cb /ipaserver | |
parent | e4ec4796a38f2143a9df200d55edb990684d67db (diff) | |
download | freeipa-1a03bd322df65ecb9302f0cd70ec2b9bbfa3812e.tar.gz freeipa-1a03bd322df65ecb9302f0cd70ec2b9bbfa3812e.tar.xz freeipa-1a03bd322df65ecb9302f0cd70ec2b9bbfa3812e.zip |
cert: fix CLI output of cert_remove_hold
cert_remove_hold uses output params instead of exceptions to convey
unsuccessful result. Move the output params to the client side before
the command is fixed to use exceptions.
https://fedorahosted.org/freeipa/ticket/4739
Reviewed-By: David Kupka <dkupka@redhat.com>
Diffstat (limited to 'ipaserver')
-rw-r--r-- | ipaserver/plugins/cert.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/ipaserver/plugins/cert.py b/ipaserver/plugins/cert.py index 526360bb6..1007408ef 100644 --- a/ipaserver/plugins/cert.py +++ b/ipaserver/plugins/cert.py @@ -842,14 +842,6 @@ class cert_revoke(PKQuery, CertMethod, VirtualCommand): class cert_remove_hold(PKQuery, CertMethod, VirtualCommand): __doc__ = _('Take a revoked certificate off hold.') - has_output_params = ( - Flag('unrevoked', - label=_('Unrevoked'), - ), - Str('error_string', - label=_('Error'), - ), - ) operation = "certificate remove hold" def get_options(self): |