diff options
author | Jan Cholasta <jcholast@redhat.com> | 2016-06-27 09:33:29 +0200 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2016-06-30 16:32:20 +0200 |
commit | c1d8c710e749110d157a6769a48ac0b9552f458e (patch) | |
tree | cab7db36ed06147d9ee6baeb620571bad9928f2f /ipaclient/plugins/otptoken.py | |
parent | 390fd3d305daf3844dd7c5e36b2d9e7b3c651e3d (diff) | |
download | freeipa-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/otptoken.py')
-rw-r--r-- | ipaclient/plugins/otptoken.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaclient/plugins/otptoken.py b/ipaclient/plugins/otptoken.py index d7d53562d..dd4a71826 100644 --- a/ipaclient/plugins/otptoken.py +++ b/ipaclient/plugins/otptoken.py @@ -43,7 +43,7 @@ if six.PY3: register = Registry() -@register(override=True) +@register(override=True, no_fail=True) class otptoken_add(MethodOverride): def _get_qrcode(self, output, uri, version): # Print QR code to terminal if specified |