From 7ef867c9cf98ecc08f7310f35d407b5b58a3f519 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Luiz=20dos=20Santos?= Date: Sat, 28 Feb 2015 00:07:47 -0300 Subject: [PATCH] Variable name typo --- files/patch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/patch.py b/files/patch.py index 46fefe86dd2..cd4b3130079 100644 --- a/files/patch.py +++ b/files/patch.py @@ -132,7 +132,7 @@ def main(): module.fail_json(msg="src %s doesn't exist or not readable" % (p.src)) if p.dest and not os.access(p.dest, W_OK): - module.fail_json(msg="dest %s doesn't exist or not writable" % (d.dest)) + module.fail_json(msg="dest %s doesn't exist or not writable" % (p.dest)) if p.basedir and not path.exists(p.basedir): module.fail_json(msg="basedir %s doesn't exist" % (p.basedir))