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

@@ -30,7 +30,7 @@ if six.PY3:
register = Registry()
@register(override=True)
@register(override=True, no_fail=True)
class migrate_ds(CommandOverride):
migrate_order = ('user', 'group')