From dddea20eec4f7dc6eeaf1863c225b6e359719f3c Mon Sep 17 00:00:00 2001 From: Wyatt Rees Date: Tue, 10 Sep 2024 07:24:59 -0600 Subject: [PATCH] lint --- anvil-python/anvil/commands/haproxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anvil-python/anvil/commands/haproxy.py b/anvil-python/anvil/commands/haproxy.py index 4952275..0ed91b5 100644 --- a/anvil-python/anvil/commands/haproxy.py +++ b/anvil-python/anvil/commands/haproxy.py @@ -78,7 +78,7 @@ def validate_cacert_chain(filepath: str) -> None: raise ValueError(f"{filepath} does not exist") try: # just make sure we can open the file - with open(filepath) as f: + with open(filepath): pass except PermissionError: raise ValueError(f"Permission denied when trying to read {filepath}")