client: ignore override errors in command overrides

This fixes API initialization errors when the remote server does not have
the overriden command.

https://fedorahosted.org/freeipa/ticket/4739

Reviewed-By: David Kupka <dkupka@redhat.com>
This commit is contained in:
Jan Cholasta
2016-06-27 09:33:29 +02:00
parent 390fd3d305
commit c1d8c710e7
22 changed files with 43 additions and 43 deletions

View File

@@ -27,7 +27,7 @@ from ipalib import x509
register = Registry()
@register(override=True)
@register(override=True, no_fail=True)
class host_show(MethodOverride):
def forward(self, *keys, **options):
if 'out' in options: