From af5d6b631f9b0f714878b4db85ebcc025aab4d88 Mon Sep 17 00:00:00 2001 From: Shahzad Malik Muzaffar Date: Fri, 29 Nov 2024 17:38:56 +0100 Subject: [PATCH] formatting --- es_relval_log.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/es_relval_log.py b/es_relval_log.py index c3d66640744..48a6d39479e 100755 --- a/es_relval_log.py +++ b/es_relval_log.py @@ -91,8 +91,8 @@ def es_parse_jobreport(payload, logFile): def es_parse_log(logFile): stamp = "%s-es" % logFile if exists(stamp): - print("Adready process: ",logFile) - return + print("Adready process: ", logFile) + return t = os.path.getmtime(logFile) timestp = int(t * 1000) payload = {} @@ -215,7 +215,7 @@ def es_parse_log(logFile): send_payload("ib-dataset-" + week, "relvals-dataset", idx, json.dumps(dataset)) ref = open(stamp, "w") ref.close() - print("Done processing :",logFile) + print("Done processing :", logFile) if __name__ == "__main__":