diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2009-01-14 12:00:47 -0700 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2009-01-14 12:00:47 -0700 |
commit | 69acff450c043bdd7d70da473c3adafdd9d3fe03 (patch) | |
tree | 9ed486e508a95b1a4a297fe0516c538190504341 /ipalib/cli.py | |
parent | 2b2e73e7df90d38175e035d6ada4d752120dc0ec (diff) | |
download | freeipa-69acff450c043bdd7d70da473c3adafdd9d3fe03.tar.gz freeipa-69acff450c043bdd7d70da473c3adafdd9d3fe03.tar.xz freeipa-69acff450c043bdd7d70da473c3adafdd9d3fe03.zip |
New Param: removed more depreciated 'import ipa_types'
Diffstat (limited to 'ipalib/cli.py')
-rw-r--r-- | ipalib/cli.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ipalib/cli.py b/ipalib/cli.py index 442e5061a..f6c187b3a 100644 --- a/ipalib/cli.py +++ b/ipalib/cli.py @@ -36,7 +36,6 @@ import frontend import backend import errors import plugable -import ipa_types import util from constants import CLI_TAB @@ -801,7 +800,7 @@ class CLI(object): ) if 'password' in option.flags: kw['action'] = 'store_true' - elif isinstance(option.type, ipa_types.Bool): + elif option.type is bool: if option.default is True: kw['action'] = 'store_false' else: |