Skip to content

Commit

Permalink
asdfa
Browse files Browse the repository at this point in the history
  • Loading branch information
nothingface0 committed Sep 6, 2023
1 parent ba0f909 commit a0fd213
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions db.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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("-")
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit a0fd213

Please sign in to comment.