Fix the filename in error message (pylint)

This commit is contained in:
Michael Scherer 2015-04-14 19:13:27 -04:00
parent f25f2d9626
commit 2d9097e025

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