From: Michael Tremer Date: Tue, 5 Apr 2011 17:11:17 +0000 (+0200) Subject: Accept z, Z, j and J as "yes" on the yes-no-question. X-Git-Tag: 0.9.3~51 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ced5e511b37fef66ed3c1b29d445edf8a2576b17;p=pakfire.git Accept z, Z, j and J as "yes" on the yes-no-question. --- diff --git a/pakfire/cli.py b/pakfire/cli.py index d0649ade5..cb8d5b34f 100644 --- a/pakfire/cli.py +++ b/pakfire/cli.py @@ -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):