# HG changeset patch # User Aurelien Campeas # Date 1417171896 -3600 # Node ID 5244592cb225237c0df294937f4f6d1f990e9c34 # Parent e2a760b9fb933eff0cf6f652e29ff11abea41772 [webctl] do not ask questions if verbosity is at 0 Closes #4641960. diff -r e2a760b9fb93 -r 5244592cb225 web/webctl.py --- a/web/webctl.py Fri Nov 28 10:16:37 2014 +0100 +++ b/web/webctl.py Fri Nov 28 11:51:36 2014 +0100 @@ -68,7 +68,8 @@ dest = osp.join(config.appdatahome, 'data') if osp.exists(dest): if (not ask_clean or - not ASK.confirm('Remove existing data directory %s?' % dest)): + not (config.verbosity and + ASK.confirm('Remove existing data directory %s?' % dest))): raise ExecutionError('Directory %s already exists. ' 'Remove it first.' % dest) rmtree(dest)