diff options
author | Scott Brown <scott@justplainsimple.com> | 2014-07-16 17:48:41 +0200 |
---|---|---|
committer | Scott Brown <scott@justplainsimple.com> | 2014-07-16 17:48:41 +0200 |
commit | 5849bb3dba84309055b4fadeebf7c5dfb9b69c95 (patch) | |
tree | 4472b146a0902c2c4ea8fd85f2cf776e15ad9f6a /bin/ansible-vault | |
parent | Merge pull request #8156 from jirutka/fix-layman (diff) | |
download | ansible-5849bb3dba84309055b4fadeebf7c5dfb9b69c95.tar.xz ansible-5849bb3dba84309055b4fadeebf7c5dfb9b69c95.zip |
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-x | bin/ansible-vault | 2 |
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 |