From 5849bb3dba84309055b4fadeebf7c5dfb9b69c95 Mon Sep 17 00:00:00 2001 From: Scott Brown Date: Wed, 16 Jul 2014 08:48:41 -0700 Subject: [PATCH] Fixing bug where the file handle is not closed properly because the parentheses are left off the call, telling Python to return a method but not call the method. --- bin/ansible-vault | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ansible-vault b/bin/ansible-vault index 4929e1c2a19..ffdb34de37c 100755 --- a/bin/ansible-vault +++ b/bin/ansible-vault @@ -107,7 +107,7 @@ def get_opt(options, k, defval=""): def _read_password(filename): f = open(filename, "rb") data = f.read() - f.close + f.close() data = data.strip() return data