@@ -23,7 +23,7 @@ def __init__(self, cursor, pin):
2323 def _trace_method (self , method , resource , extra_tags , * args , ** kwargs ):
2424 pin = Pin .get_from (self )
2525 if not pin or not pin .enabled ():
26- result = yield from method (* args , ** kwargs ) # noqa: E999
26+ result = yield from method (* args , ** kwargs )
2727 return result
2828 service = pin .service
2929
@@ -44,15 +44,15 @@ def _trace_method(self, method, resource, extra_tags, *args, **kwargs):
4444 result = yield from method (* args , ** kwargs )
4545 return result
4646 finally :
47- s .set_metric (" db.rowcount" , self .rowcount )
47+ s .set_metric (' db.rowcount' , self .rowcount )
4848
4949 @asyncio .coroutine
5050 def executemany (self , query , * args , ** kwargs ):
5151 # FIXME[matt] properly handle kwargs here. arg names can be different
5252 # with different libs.
5353 result = yield from self ._trace_method (
5454 self .__wrapped__ .executemany , query , {'sql.executemany' : 'true' },
55- query , * args , ** kwargs ) # noqa: E999
55+ query , * args , ** kwargs )
5656 return result
5757
5858 @asyncio .coroutine
@@ -64,7 +64,7 @@ def execute(self, query, *args, **kwargs):
6464 @asyncio .coroutine
6565 def callproc (self , proc , args ):
6666 result = yield from self ._trace_method (
67- self .__wrapped__ .callproc , proc , {}, proc , args ) # noqa: E999
67+ self .__wrapped__ .callproc , proc , {}, proc , args )
6868 return result
6969
7070
@@ -88,7 +88,7 @@ def cursor(self, *args, **kwargs):
8888
8989 @asyncio .coroutine
9090 def _cursor (self , * args , ** kwargs ):
91- cursor = yield from self .__wrapped__ ._cursor (* args , ** kwargs ) # noqa: E999
91+ cursor = yield from self .__wrapped__ ._cursor (* args , ** kwargs )
9292 pin = Pin .get_from (self )
9393 if not pin :
9494 return cursor
0 commit comments