Skip to content

Commit

Permalink
Rm six module for #816
Browse files Browse the repository at this point in the history
Closes #816
  • Loading branch information
machawk1 committed Nov 8, 2023
1 parent a36196b commit e37f56b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 8 deletions.
6 changes: 1 addition & 5 deletions ipwb/indexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@
from ipfshttpclient.exceptions import ConnectionError
# from requests.exceptions import ConnectionError

from six.moves import input
from six import PY2
from six import PY3

from ipwb.util import iso8601_to_digits14, ipfs_client

import requests
Expand All @@ -49,7 +45,7 @@


def s2b(s): # Convert str to bytes, cross-py
return bytes(s) if PY2 else bytes(s, 'utf-8')
return bytes(s, 'utf-8')


# TODO: put this method definition below index_file_at()
Expand Down
2 changes: 1 addition & 1 deletion ipwb/replay.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
from socket import gaierror
from socket import error as socketerror

from six.moves.urllib_parse import urlsplit, urlunsplit
from urllib.parse import urlsplit, urlunsplit


from requests.exceptions import HTTPError
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ Flask==2.3.2
pycryptodome>=3.4.11
requests>=2.19.1
beautifulsoup4>=4.6.3
six==1.11.0
surt>=0.3.0
multiaddr >= 0.0.9
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
'pycryptodome>=3.4.11',
'requests>=2.19.1',
'beautifulsoup4>=4.6.3',
'six==1.11.0',
'surt>=0.3.0'
],
tests_require=[
Expand Down

0 comments on commit e37f56b

Please sign in to comment.