Skip to content

Commit

Permalink
even more linting
Browse files Browse the repository at this point in the history
  • Loading branch information
enolfc committed Jul 22, 2024
1 parent 295cec5 commit 609809a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion egi_notebooks_accounting/eosc.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,9 @@ def main():
for pod in VM.select().where((VM.end_time >= from_date) & (VM.end_time <= to_date)):
update_pod_metric(pod, metrics, flavor_config)
# pods starting but not finished between the reporting times
for pod in VM.select().where((VM.start_time >= from_date) & (VM.end_time is not None)):
for pod in VM.select().where(
(VM.start_time >= from_date) & (VM.end_time is not None)
):
update_pod_metric(pod, metrics, flavor_config)

# ==== push this to EOSC accounting ====
Expand Down

0 comments on commit 609809a

Please sign in to comment.