Changeset - 1ae6e0aa87c5
[Not reviewed]
default
0 1 0
Mads Kiilerich - 8 years ago 2017-08-12 17:30:45
mads@kiilerich.com
rcext: show extension path in prompt for overwriting - let the user know what we are asking about
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
kallithea/lib/paster_commands/make_rcextensions.py
Show inline comments
 
@@ -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
0 comments (0 inline, 0 general)