]> git.ipfire.org Git - pakfire.git/commitdiff
Accept z, Z, j and J as "yes" on the yes-no-question.
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 5 Apr 2011 17:11:17 +0000 (19:11 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 5 Apr 2011 17:11:17 +0000 (19:11 +0200)
pakfire/cli.py

index d0649ade572a1aa49fcf39951f303ee894515023..cb8d5b34fbf26d52c38c21a83a51931a925c90f0 100644 (file)
@@ -27,7 +27,7 @@ def ask_user(question):
        print _("%s [y/N]") % question,
        ret = raw_input()
 
-       return ret in ("y", "Y")
+       return ret in ("y", "Y", "z", "Z", "j", "J")
 
 class Cli(object):
        def __init__(self):