Skip to content

Commit

Permalink
remove six dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
cenkalti committed Mar 6, 2018
1 parent 08c7cf3 commit c1c2832
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions kuyruk/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
from time import monotonic
from typing import Tuple # noqa

import six
import amqp

from kuyruk import importer, signals
Expand Down Expand Up @@ -193,8 +192,6 @@ def _process_message(self, message):
return

try:
if isinstance(message.body, six.binary_type):
message.body = message.body.decode('utf-8')
description = json.loads(message.body)
except Exception:
message.channel.basic_reject(message.delivery_tag, requeue=False)
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def read(*fname):
install_requires=[
'amqp>=2',
'blinker>=1.3',
'six>=1.10.0',
],
description='Simple task queue',
long_description=read('README.rst'),
Expand Down

0 comments on commit c1c2832

Please sign in to comment.