Commit c0f6712a by Toshio Kuratomi

Merge pull request #10719 from mscherer/fix_error_action_v2

Fix the filename in error message (pylint)
parents 61379a60 2d9097e0
...@@ -190,7 +190,7 @@ class ActionBase: ...@@ -190,7 +190,7 @@ class ActionBase:
# Catch failure conditions, files should never be # Catch failure conditions, files should never be
# written to locations in /. # written to locations in /.
if rc == '/': if rc == '/':
raise AnsibleError('failed to resolve remote temporary directory from %s: `%s` returned empty string' % (basetmp, cmd)) raise AnsibleError('failed to resolve remote temporary directory from %s: `%s` returned empty string' % (basefile, cmd))
return rc return rc
......
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