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