Fix style

This commit is contained in:
Kruglov Pavel 2023-02-09 15:01:32 +01:00 committed by GitHub
parent 82521bb973
commit 5c62afd15e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -302,7 +302,7 @@ if __name__ == "__main__":
res = call(cmd, shell=True, stdout=tee.stdin, stderr=STDOUT) res = call(cmd, shell=True, stdout=tee.stdin, stderr=STDOUT)
tee.stdin.close() tee.stdin.close()
if res != 0 and have_long_running_queries: if res != 0 and have_long_running_queries:
logging.info("Hung check failed with exit code {}".format(res)) logging.info("Hung check failed with exit code %d", res)
else: else:
hung_check_status = "No queries hung\tOK\t\\N\t\n" hung_check_status = "No queries hung\tOK\t\\N\t\n"
with open( with open(