summaryrefslogtreecommitdiff
path: root/bin/ansible-vault
diff options
context:
space:
mode:
authorScott Brown <scott@justplainsimple.com>2014-07-16 08:48:41 -0700
committerScott Brown <scott@justplainsimple.com>2014-07-16 08:48:41 -0700
commit5849bb3dba84309055b4fadeebf7c5dfb9b69c95 (patch)
tree4472b146a0902c2c4ea8fd85f2cf776e15ad9f6a /bin/ansible-vault
parent616d749ab30218cbd0be9d9c31419851db7000d2 (diff)
downloadansible-5849bb3dba84309055b4fadeebf7c5dfb9b69c95.tar.gz
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.
Diffstat (limited to 'bin/ansible-vault')
-rwxr-xr-xbin/ansible-vault2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ansible-vault b/bin/ansible-vault
index 4929e1c2a1..ffdb34de37 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