Skip to content

Commit

Permalink
Removed web3._utils.six support
Browse files Browse the repository at this point in the history
  • Loading branch information
6ug authored and pipermerriam committed Oct 19, 2018
1 parent aa86e01 commit 22a215f
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 18 deletions.
7 changes: 2 additions & 5 deletions web3/_utils/caching.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import collections
import hashlib

from eth_utils import (
Expand All @@ -11,10 +12,6 @@
to_bytes,
)

from .six import (
Generator,
)


def generate_cache_key(value):
"""
Expand All @@ -32,7 +29,7 @@ def generate_cache_key(value):
for key
in sorted(value.keys())
))
elif is_list_like(value) or isinstance(value, Generator):
elif is_list_like(value) or isinstance(value, collections.Generator):
return generate_cache_key("".join((
generate_cache_key(item)
for item
Expand Down
5 changes: 0 additions & 5 deletions web3/_utils/six/__init__.py

This file was deleted.

7 changes: 0 additions & 7 deletions web3/_utils/six/six.py

This file was deleted.

1 change: 0 additions & 1 deletion web3/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
normalizers,
request,
rpc_abi,
six,
threads,
toolz,
transactions,
Expand Down

0 comments on commit 22a215f

Please sign in to comment.