From a0fd213513b6b24354b78bd96a77588771f4c314 Mon Sep 17 00:00:00 2001 From: Dimitris Papagiannis Date: Wed, 6 Sep 2023 10:54:16 +0000 Subject: [PATCH] asdfa --- db.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db.py b/db.py index 9f7788c..5e0d68f 100644 --- a/db.py +++ b/db.py @@ -384,6 +384,8 @@ def get( + f"WHERE run BETWEEN {run_start} AND {run_end} {postfix}" ).all() self.log.debug(f"Read DB for runs {run_start}-{run_end}: {answer}") + for _ in answer: + print("Data from DB:", _[-2]) return answer def format_run_data(self, data): @@ -470,7 +472,6 @@ def format_table_entry(self, data: dict): timestamp, _, ) = data - print("!! format_table_entry:\t\t", timestamp) client = self.get_short_client_name(client) # Hide part of the hostname for safety reasons var = hostname.split("-") @@ -499,7 +500,6 @@ def format_table_entry(self, data: dict): ), (cmssw_run, runkey, cmssw_v), ] - print("!! format_table_entry iso:\t", timestamp.isoformat()) return answer