mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix the filename in error message (pylint)
This commit is contained in:
parent
f25f2d9626
commit
2d9097e025
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue