1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #10719 from mscherer/fix_error_action_v2

Fix the filename in error message (pylint)
This commit is contained in:
Toshio Kuratomi 2015-04-14 19:22:19 -07:00
commit c0f6712a37

View file

@ -190,7 +190,7 @@ class ActionBase:
# Catch failure conditions, files should never be
# written to locations in /.
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