Skip to content

Commit

Permalink
Lints
Browse files Browse the repository at this point in the history
  • Loading branch information
mmastrac committed Aug 7, 2024
1 parent c4e9545 commit 4f6f2ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion edb/server/connpool/pool2.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,8 @@ async def acquire(self, dbname: str) -> C:
# Allow the final exception to escape
if i == config.CONNECT_FAILURE_RETRIES:
logger.exception('Failed to acquire connection, will not '
f'retry {dbname} ({self._cur_capacity} active)')
f'retry {dbname} ({self._cur_capacity}'
'active)')
raise
logger.exception('Failed to acquire connection, will retry: '
f'{dbname} ({self._cur_capacity} active)')
Expand Down
1 change: 1 addition & 0 deletions edb/testbase/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -2453,6 +2453,7 @@ async def __aenter__(self):
)

output = b''

async def read_stdout():
nonlocal output
# Tee the log temporarily to a tempfile that exists as long as the
Expand Down

0 comments on commit 4f6f2ec

Please sign in to comment.