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:
1 parent
448af06234
commit
f7240c6df8
1 file changed
+3
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user