From 2d9097e025f04b7ffb307834ebbb8c901929066d Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Tue, 14 Apr 2015 19:13:27 -0400 Subject: [PATCH] Fix the filename in error message (pylint) --- v2/ansible/plugins/action/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2/ansible/plugins/action/__init__.py b/v2/ansible/plugins/action/__init__.py index 30d1641090e..1ec1da34c7c 100644 --- a/v2/ansible/plugins/action/__init__.py +++ b/v2/ansible/plugins/action/__init__.py @@ -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