diff options
author | Scott Brown <scott@justplainsimple.com> | 2014-07-16 08:48:41 -0700 |
---|---|---|
committer | Scott Brown <scott@justplainsimple.com> | 2014-07-16 08:48:41 -0700 |
commit | 5849bb3dba84309055b4fadeebf7c5dfb9b69c95 (patch) | |
tree | 4472b146a0902c2c4ea8fd85f2cf776e15ad9f6a /bin/ansible-vault | |
parent | 616d749ab30218cbd0be9d9c31419851db7000d2 (diff) | |
download | ansible-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-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 |