From ced5e511b37fef66ed3c1b29d445edf8a2576b17 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 5 Apr 2011 19:11:17 +0200 Subject: [PATCH] Accept z, Z, j and J as "yes" on the yes-no-question. --- pakfire/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.39.5