Commit 27b35b16 by jctanner Committed by James Tanner

Merge pull request #5360 from succhiello/feature/fix_galaxy_init_path_exists_msg

add var for format.
parent c706cc8b
...@@ -467,7 +467,7 @@ def execute_init(args, options): ...@@ -467,7 +467,7 @@ def execute_init(args, options):
print "The path %s already exists, but is a file - aborting" % role_path print "The path %s already exists, but is a file - aborting" % role_path
sys.exit(1) sys.exit(1)
elif not force: elif not force:
print "The directory %s already exists." print "The directory %s already exists." % role_path
print "" print ""
print "You can use --force to re-initialize this directory,\n" + \ print "You can use --force to re-initialize this directory,\n" + \
"however it will reset any main.yml files that may have\n" + \ "however it will reset any main.yml files that may have\n" + \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment