From f7240c6df8bb6f3188faaf518031f9f0fbf89f5c Mon Sep 17 00:00:00 2001 From: Jan Cholasta Date: Wed, 15 Jun 2016 08:09:40 +0200 Subject: [PATCH] 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 --- ipalib/frontend.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ipalib/frontend.py b/ipalib/frontend.py index 161d7c391..49ff8a174 100644 --- a/ipalib/frontend.py +++ b/ipalib/frontend.py @@ -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()