mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
frontend: call execute
rather than forward
in Local
This allows properly subclassing from both Local and other Command classes. https://fedorahosted.org/freeipa/ticket/4739 Reviewed-By: David Kupka <dkupka@redhat.com>
This commit is contained in:
parent
448af06234
commit
f7240c6df8
@ -1195,6 +1195,9 @@ class Local(Command):
|
||||
"""
|
||||
return self.forward(*args, **options)
|
||||
|
||||
def forward(self, *args, **options):
|
||||
return self.execute(*args, **options)
|
||||
|
||||
|
||||
class Object(HasParam):
|
||||
# Create stubs for attributes that are set in _on_finalize()
|
||||
|
Loading…
Reference in New Issue
Block a user