executor: properly format error exception
Exception doesn't format string automatically. Change-Id: Iab057490966441d2e9f6792534743a0c8f3e8a86
This commit is contained in:
parent
691b1bc17c
commit
a44a9bef38
|
@ -1537,7 +1537,7 @@ class AnsibleJob(object):
|
|||
link = os.path.join(root, name)
|
||||
link = os.path.realpath(link)
|
||||
if not link.startswith(os.path.realpath(root)):
|
||||
raise ExecutorError("Invalid role name %s", name)
|
||||
raise ExecutorError("Invalid role name %s" % name)
|
||||
os.symlink(path, link)
|
||||
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue