Commit c33faf21 authored by Florian Kempenich's avatar Florian Kempenich
Browse files

Refine Error message

parent ed6ccbf5
...@@ -71,12 +71,12 @@ def _create_droplet_inventory_symlink(): ...@@ -71,12 +71,12 @@ def _create_droplet_inventory_symlink():
if not os.path.isfile(inventory_file): if not os.path.isfile(inventory_file):
raise AssertionError( raise AssertionError(
"\n" + "\n\n" +
"/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\\n" + "/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\\n" +
"Please ensure you didn't delete the generated inventory in the HOME dir\n" + "Please ensure you didn't delete the generated inventory in the HOME dir\n" +
"In case you did, just create a new empty file at '{0}'" + "In case you did, just create a new empty file at '{0}'".format(inventory_file) +
"/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\\n" + "/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\/!\\\n" +
"\n".format(inventory_file) "\n"
) )
symlink(inventory_file, inventory_link) symlink(inventory_file, inventory_link)
......
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