Skip to content

Commit beced7b

Browse files
committed
Fixup: lint errors
1 parent 7ad84e3 commit beced7b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

newrelic/hooks/database_aiomysql.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626

2727
class AsyncCursorContextManagerWrapper(ObjectProxy):
28-
28+
2929
__cursor_wrapper__ = DBAPI2AsyncCursorWrapper
3030

3131
def __init__(self, context_manager, dbapi2_module, connect_params, cursor_args):
@@ -39,7 +39,7 @@ async def __aenter__(self):
3939
return self.__cursor_wrapper__(
4040
cursor, self._nr_dbapi2_module, self._nr_connect_params, self._nr_cursor_args
4141
)
42-
42+
4343
async def __aexit__(self, exc, val, tb):
4444
return await self.__wrapped__.__aexit__(exc, val, tb)
4545

@@ -59,7 +59,7 @@ async def _wrap_pool__acquire(wrapped, instance, args, kwargs):
5959
rollup = ["Datastore/all", f"Datastore/{dbapi2_module._nr_database_product}/all"]
6060

6161
with FunctionTrace(name=callable_name(wrapped), terminal=True, rollup=rollup, source=wrapped):
62-
connection = await wrapped(*args, **kwargs)
62+
connection = await wrapped(*args, **kwargs)
6363
connection_kwargs = getattr(instance, "_conn_kwargs", {})
6464
return AsyncConnectionWrapper(connection, dbapi2_module, (((), connection_kwargs)))
6565

0 commit comments

Comments
 (0)