From 1a03bd322df65ecb9302f0cd70ec2b9bbfa3812e Mon Sep 17 00:00:00 2001 From: Jan Cholasta Date: Wed, 29 Jun 2016 18:11:41 +0200 Subject: 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 --- ipaserver/plugins/cert.py | 8 -------- 1 file changed, 8 deletions(-) (limited to 'ipaserver/plugins') 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): -- cgit