summaryrefslogtreecommitdiffstats
path: root/ipaclient/plugins/automember.py
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2016-06-27 09:33:29 +0200
committerJan Cholasta <jcholast@redhat.com>2016-06-30 16:32:20 +0200
commitc1d8c710e749110d157a6769a48ac0b9552f458e (patch)
treecab7db36ed06147d9ee6baeb620571bad9928f2f /ipaclient/plugins/automember.py
parent390fd3d305daf3844dd7c5e36b2d9e7b3c651e3d (diff)
downloadfreeipa-c1d8c710e749110d157a6769a48ac0b9552f458e.tar.gz
freeipa-c1d8c710e749110d157a6769a48ac0b9552f458e.tar.xz
freeipa-c1d8c710e749110d157a6769a48ac0b9552f458e.zip
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>
Diffstat (limited to 'ipaclient/plugins/automember.py')
-rw-r--r--ipaclient/plugins/automember.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaclient/plugins/automember.py b/ipaclient/plugins/automember.py
index 98caf931d..0b6fddaa2 100644
--- a/ipaclient/plugins/automember.py
+++ b/ipaclient/plugins/automember.py
@@ -25,7 +25,7 @@ from ipalib.text import _
register = Registry()
-@register(override=True)
+@register(override=True, no_fail=True)
class automember_add_condition(MethodOverride):
has_output_params = (
Str('failed',