diff options
author | Rob Crittenden <rcritten@redhat.com> | 2009-08-13 09:27:13 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2009-08-20 09:20:56 -0400 |
commit | d9c54cd83e8c676e34497fa135786a626d5d1fc7 (patch) | |
tree | 9f0b4defe1bbc50d96cfedabf5d2b591de8eac53 /ipapython/ipautil.py | |
parent | 8780751330871033b13fc8fbb7eb0588baf4417d (diff) | |
download | freeipa-d9c54cd83e8c676e34497fa135786a626d5d1fc7.tar.gz freeipa-d9c54cd83e8c676e34497fa135786a626d5d1fc7.tar.xz freeipa-d9c54cd83e8c676e34497fa135786a626d5d1fc7.zip |
Clean up additional issues discovered with pylint and pychecker
Diffstat (limited to 'ipapython/ipautil.py')
-rw-r--r-- | ipapython/ipautil.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/ipapython/ipautil.py b/ipapython/ipautil.py index 2fa26fef8..240e0d872 100644 --- a/ipapython/ipautil.py +++ b/ipapython/ipautil.py @@ -600,16 +600,6 @@ def user_input_plain(prompt, default = None, allow_empty = True, allow_spaces = if ipavalidate.Plain(ret, not allow_empty, allow_spaces): return ret -def user_input_path(prompt, default = None, allow_empty = True): - if default != None and allow_empty: - prompt += " (enter \"none\" for empty)" - while True: - ret = user_input(prompt, default, allow_empty) - if allow_empty and ret.lower() == "none": - return "" - if ipavalidate.Path(ret, not allow_empty): - return ret - class AttributeValueCompleter: ''' Gets input from the user in the form "lhs operator rhs" |