diff options
author | Jan Cholasta <jcholast@redhat.com> | 2015-07-08 06:21:02 +0000 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2015-07-08 12:36:19 +0000 |
commit | 232458a222435c80c28d6179f164673de67e2544 (patch) | |
tree | 53098e7d7ebb451c8b24e63a31892a49b1500d27 /ipalib/plugable.py | |
parent | bf6df3df9b388753a52a0040d9c15b1eabce41ca (diff) | |
download | freeipa-232458a222435c80c28d6179f164673de67e2544.tar.gz freeipa-232458a222435c80c28d6179f164673de67e2544.tar.xz freeipa-232458a222435c80c28d6179f164673de67e2544.zip |
ipalib: Fix skip_version_check option
This reverts commit ea7f392bb98c1f1c4558ec5d6e84ee7a7c613474.
The option can be either set in IPA config file or specified as
'ipa -e skip_version_check=1 [COMMAND]'.
https://fedorahosted.org/freeipa/ticket/4768
Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'ipalib/plugable.py')
-rw-r--r-- | ipalib/plugable.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/ipalib/plugable.py b/ipalib/plugable.py index 269d58092..2ce7acfd6 100644 --- a/ipalib/plugable.py +++ b/ipalib/plugable.py @@ -484,12 +484,6 @@ class API(ReadOnly): dest='fallback', help='Only use the server configured in /etc/ipa/default.conf' ) - parser.add_option( - '--skip-version-check', - action='store_true', - dest='skip_version_check', - help=optparse.SUPPRESS_HELP - ) return parser @@ -509,7 +503,7 @@ class API(ReadOnly): pass overrides[str(key.strip())] = value.strip() for key in ('conf', 'debug', 'verbose', 'prompt_all', 'interactive', - 'fallback', 'delegate', 'skip_version_check'): + 'fallback', 'delegate'): value = getattr(options, key, None) if value is not None: overrides[key] = value |