summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2019-01-25 17:49:07 +0000
committerGerrit Code Review <review@openstack.org>2019-01-25 17:49:07 +0000
commit492e41fefd521ef5115fb079c4df00bf9fbc74b0 (patch)
treeb83d8cc2c01d6e670ed709bf564f3e8d550cf1e7
parent1d6d8b0de68512e081f8b32efc4f210b426aebcf (diff)
parenta44a9bef38d5b5bf350213adbfe6a608c6d0713a (diff)
Merge "executor: properly format error exception"
-rw-r--r--zuul/executor/server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/zuul/executor/server.py b/zuul/executor/server.py
index 038cf06..a3224af 100644
--- a/zuul/executor/server.py
+++ b/zuul/executor/server.py
@@ -1537,7 +1537,7 @@ class AnsibleJob(object):
1537 link = os.path.join(root, name) 1537 link = os.path.join(root, name)
1538 link = os.path.realpath(link) 1538 link = os.path.realpath(link)
1539 if not link.startswith(os.path.realpath(root)): 1539 if not link.startswith(os.path.realpath(root)):
1540 raise ExecutorError("Invalid role name %s", name) 1540 raise ExecutorError("Invalid role name %s" % name)
1541 os.symlink(path, link) 1541 os.symlink(path, link)
1542 1542
1543 try: 1543 try: