mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fix a few issues introduced by the new Param.use_in_context() patch
This commit is contained in:
@@ -428,7 +428,7 @@ class help(frontend.Command):
|
|||||||
Display help for a command or topic.
|
Display help for a command or topic.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
takes_args = [Bytes('command?')]
|
takes_args = (Bytes('command?'),)
|
||||||
|
|
||||||
_PLUGIN_BASE_MODULE = 'ipalib.plugins'
|
_PLUGIN_BASE_MODULE = 'ipalib.plugins'
|
||||||
|
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ class cert_status(Command):
|
|||||||
Check status of a certificate signing request.
|
Check status of a certificate signing request.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
takes_args = ['request_id']
|
takes_args = ('request_id')
|
||||||
|
|
||||||
|
|
||||||
def execute(self, request_id, **kw):
|
def execute(self, request_id, **kw):
|
||||||
@@ -129,7 +129,7 @@ class cert_get(Command):
|
|||||||
Retrieve an existing certificate.
|
Retrieve an existing certificate.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
takes_args = ['serial_number']
|
takes_args = ('serial_number')
|
||||||
|
|
||||||
def execute(self, serial_number):
|
def execute(self, serial_number):
|
||||||
return self.Backend.ra.get_certificate(serial_number)
|
return self.Backend.ra.get_certificate(serial_number)
|
||||||
@@ -148,7 +148,7 @@ class cert_revoke(Command):
|
|||||||
Revoke a certificate.
|
Revoke a certificate.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
takes_args = ['serial_number']
|
takes_args = ('serial_number')
|
||||||
|
|
||||||
# FIXME: The default is 0. Is this really an Int param?
|
# FIXME: The default is 0. Is this really an Int param?
|
||||||
takes_options = (
|
takes_options = (
|
||||||
@@ -178,7 +178,7 @@ class cert_remove_hold(Command):
|
|||||||
Take a revoked certificate off hold.
|
Take a revoked certificate off hold.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
takes_args = ['serial_number']
|
takes_args = ('serial_number')
|
||||||
|
|
||||||
def execute(self, serial_number, **kw):
|
def execute(self, serial_number, **kw):
|
||||||
return self.Backend.ra.take_certificate_off_hold(serial_number)
|
return self.Backend.ra.take_certificate_off_hold(serial_number)
|
||||||
|
|||||||
Reference in New Issue
Block a user