Skip to content

Commit

Permalink
fix ruff-detected error
Browse files Browse the repository at this point in the history
  • Loading branch information
a-masterov committed Jul 10, 2024
1 parent 27d4244 commit 9e0d9f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/benchmark_durations.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def main(args: argparse.Namespace):
logging.info("fetching benchmarks...")
cur.execute(BENCHMARKS_DURATION_QUERY, (percentile, interval_days))
rows = cur.fetchall()
except psycopg2.OperationalError as exc:
except psycopg2.OperationalError:
logging.error("cannot fetch benchmarks duration from the DB due to an error")
rows = []
res = FALLBACK_DURATION
Expand Down
2 changes: 1 addition & 1 deletion scripts/flaky_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def main(args: argparse.Namespace):
logging.info("fetching flaky tests...")
cur.execute(FLAKY_TESTS_QUERY, (interval_days,))
rows = cur.fetchall()
except psycopg2.OperationalError as exc:
except psycopg2.OperationalError:
logging.error("cannot fetch flaky tests from the DB due to an error")
rows = []

Expand Down

0 comments on commit 9e0d9f9

Please sign in to comment.