branch | 3.25 |
changeset 12197 | 43022c1fa133 |
parent 12159 | 8a1306c43656 |
child 12268 | d84bc85f7f70 |
--- a/cubicweb/web/webctl.py Fri Jul 28 08:35:01 2017 +0000 +++ b/cubicweb/web/webctl.py Tue Apr 04 10:50:49 2017 +0200 @@ -76,7 +76,7 @@ if not dest: dest = osp.join(config.appdatahome, 'data') if osp.exists(dest): - if (not ask_clean or + if config.verbosity and (not ask_clean or not (config.verbosity and ASK.confirm('Remove existing data directory %s?' % dest))): raise ExecutionError('Directory %s already exists. '