summaryrefslogtreecommitdiffstats
path: root/ipaclient/plugins/user.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/user.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/user.py')
-rw-r--r--ipaclient/plugins/user.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipaclient/plugins/user.py b/ipaclient/plugins/user.py
index ccff9bbbc..19eecac54 100644
--- a/ipaclient/plugins/user.py
+++ b/ipaclient/plugins/user.py
@@ -29,7 +29,7 @@ from ipalib import x509
register = Registry()
-@register(override=True)
+@register(override=True, no_fail=True)
class user_del(MethodOverride):
def get_options(self):
for option in super(user_del, self).get_options():
@@ -60,7 +60,7 @@ class user_del(MethodOverride):
return super(user_del, self).forward(*keys, **options)
-@register(override=True)
+@register(override=True, no_fail=True)
class user_show(MethodOverride):
def forward(self, *keys, **options):
if 'out' in options: