changeset 6795:1ae6e0aa87c5

rcext: show extension path in prompt for overwriting - let the user know what we are asking about
author Mads Kiilerich <mads@kiilerich.com>
date Sat, 12 Aug 2017 17:30:45 +0200
parents 24c9b2692ae4
children e40122629a01
files kallithea/lib/paster_commands/make_rcextensions.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/lib/paster_commands/make_rcextensions.py	Sat Aug 12 17:30:33 2017 +0200
+++ b/kallithea/lib/paster_commands/make_rcextensions.py	Sat Aug 12 17:30:45 2017 +0200
@@ -52,8 +52,8 @@
         )
         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