return False
-def is_enabled(s):
- return s in ("true", "yes", "1")
-
-def ask_user(question):
- """
- Ask the user the question, he or she can answer with yes or no.
-
- This function returns True for "yes" and False for "no".
-
- If the software is running in a non-inteactive shell, no question
- is asked at all and the answer is always "yes".
- """
- if not cli_is_interactive():
- return True
-
- print(_("%s [y/N]") % question, end=' ')
- ret = input()
- print() # Just an empty line.
-
- return ret in ("y", "Y", "z", "Z", "j", "J")
-
def random_string(length=20):
s = ""