From 719c73afa24d5099977b4831a9010686b599c716 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Mon, 22 Aug 2016 11:31:42 -0700 Subject: [PATCH] Fix tmpfile misspelled as tmplfile (#17183) --- lib/ansible/parsing/vault/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/parsing/vault/__init__.py b/lib/ansible/parsing/vault/__init__.py index 94bb89e112c..a86907d8e72 100644 --- a/lib/ansible/parsing/vault/__init__.py +++ b/lib/ansible/parsing/vault/__init__.py @@ -481,7 +481,7 @@ class VaultFile(object): # VaultFile a context manager instead (implement __enter__ and __exit__) def __del__(self): self.filehandle.close() - os.unlink(self.tmplfile) + os.unlink(self.tmpfile) def is_encrypted(self): peak = self.filehandle.readline()