Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffxy committed Nov 12, 2023
1 parent 133c5f3 commit 4098bbc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/brad/routing/router.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,7 @@ async def engine_for(

# Check if no engine supports query.
if valid_locations == 0:
raise RuntimeError(
"No engine supports query '{}'".format(query.raw_query)
)
raise RuntimeError("No engine supports query '{}'".format(query.raw_query))

# Check if only one engine supports query.
if (valid_locations & (valid_locations - 1)) == 0:
Expand Down

0 comments on commit 4098bbc

Please sign in to comment.