Skip to content

Commit

Permalink
Unused argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
itamarst committed Aug 9, 2017
1 parent 214a693 commit 8502bbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crochet/_eventloop.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ def no_setup(self):
self._common_setup()

@wrapt.decorator
def _run_in_reactor(self, function, instance, args, kwargs):
def _run_in_reactor(self, function, _, args, kwargs):
"""
Implementation: A decorator that ensures the wrapped function runs in
the reactor thread.
Expand Down Expand Up @@ -505,7 +505,7 @@ def wait_for(self, timeout):

def decorator(function):
@wrapt.decorator
def wrapper(function, instance, args, kwargs):
def wrapper(function, _, args, kwargs):
@self.run_in_reactor
def run():
return function(*args, **kwargs)
Expand Down

0 comments on commit 8502bbd

Please sign in to comment.