# HG changeset patch # User Mads Kiilerich # Date 2017-08-12 17:30:45 # Node ID 1ae6e0aa87c519ba1d688c0eaa9f42cb28496e9f # Parent 24c9b2692ae4e0ff7214217962bdf6d1b567ef80 rcext: show extension path in prompt for overwriting - let the user know what we are asking about diff --git a/kallithea/lib/paster_commands/make_rcextensions.py b/kallithea/lib/paster_commands/make_rcextensions.py --- a/kallithea/lib/paster_commands/make_rcextensions.py +++ b/kallithea/lib/paster_commands/make_rcextensions.py @@ -52,8 +52,8 @@ class Command(BasePasterCommand): ) ext_file = os.path.join(here, 'rcextensions', '__init__.py') if os.path.exists(ext_file): - msg = ('Extension file already exists, do you want ' - 'to overwrite it ? [y/n]') + msg = ('Extension file %s already exists, do you want ' + 'to overwrite it ? [y/n]') % ext_file if not ask_ok(msg): print 'Nothing done, exiting...' return