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:
Jan Cholasta 2016-06-15 08:09:40 +02:00
parent 448af06234
commit f7240c6df8

View File

@ -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()