From d9c54cd83e8c676e34497fa135786a626d5d1fc7 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Thu, 13 Aug 2009 09:27:13 -0400 Subject: Clean up additional issues discovered with pylint and pychecker --- ipapython/ipautil.py | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'ipapython/ipautil.py') 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" -- cgit