some cleaning up of code in utils
This commit is contained in:
parent
a58e04db5f
commit
d4b8859d91
1 changed files with 2 additions and 2 deletions
|
|
@ -367,9 +367,9 @@ def link_create(path_src, path_dst, debug=False):
|
||||||
run(cmd_rm)
|
run(cmd_rm)
|
||||||
else:
|
else:
|
||||||
msg_error = "something exists at dst - '%s' " \
|
msg_error = "something exists at dst - '%s' " \
|
||||||
"- and it's not a link\n kicking out".format(path_dst)
|
"- and it's not a link\n kicking out"
|
||||||
|
|
||||||
sys.exit(msg_error)
|
sys.exit(msg_error.format(path_dst))
|
||||||
|
|
||||||
if debug:
|
if debug:
|
||||||
msg_debug += "link_create:cmd_link : %s" % cmd_link
|
msg_debug += "link_create:cmd_link : %s" % cmd_link
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue