Skip to content

Commit 0dd6f2c

Browse files
cclaussdcramer
authored andcommitted
Python 3: Explicit tuple is invalid function param
1 parent ea34125 commit 0dd6f2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sentry/nodestore/riak/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,14 @@ def consumer():
6767

6868
self.__started = True
6969

70-
def submit(self, (func, arg, kwargs, cb)):
70+
def submit(self, func_arg_kwargs_cb):
7171
"""\
7272
Submit a task to the worker pool.
7373
"""
7474
if not self.__started:
7575
self.__start()
7676

77-
self.__tasks.put((func, arg, kwargs, cb))
77+
self.__tasks.put(func_arg_kwargs_cb)
7878

7979

8080
class RiakClient(object):

0 commit comments

Comments
 (0)