commit ba3999453ed4ea11a3eae40905c0491d3136df61 Author: Pierre-Yves Chibon pingou@pingoured.fr Date: Mon Nov 24 11:48:11 2014 +0100
Get the shortcuts to approve (a), deny (d) and pass (p) to work
pkgdb2client/admin.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) --- diff --git a/pkgdb2client/admin.py b/pkgdb2client/admin.py index 5404080..26c2048 100644 --- a/pkgdb2client/admin.py +++ b/pkgdb2client/admin.py @@ -216,7 +216,7 @@ def _ask_what_to_do(messages):
print 'What should we do about this requests?' action = raw_input('approve, deny, pass: ') - if action.lower() not in ['approve', 'deny', 'pass']: + if action.lower() not in ['a', 'd', 'p', 'approve', 'deny', 'pass']: print 'No valid action specified, just ignoring for now' action = 'pass'
packagedb-cli-commits@lists.stg.fedorahosted.org