Run pyupgrade for python 3.7 & 3.8. (#16110)

This commit is contained in:
Patrick Cloke
2023-08-15 08:11:20 -04:00
committed by GitHub
parent 4347473946
commit ad3f43be9a
43 changed files with 113 additions and 121 deletions

View File

@@ -769,7 +769,7 @@ def main(server_url, identity_server_url, username, token, config_path):
global CONFIG_JSON
CONFIG_JSON = config_path # bit cheeky, but just overwrite the global
try:
with open(config_path, "r") as config:
with open(config_path) as config:
syn_cmd.config = json.load(config)
try:
http_client.verbose = "on" == syn_cmd.config["verbose"]