drop six and python2 support
This commit is contained in:
parent
955b4a4e9b
commit
adad3be419
31 changed files with 54 additions and 426 deletions
|
|
@ -8,11 +8,7 @@ from hashlib import sha1 as sha
|
|||
from copy import copy
|
||||
import re
|
||||
|
||||
from six import PY2
|
||||
if PY2:
|
||||
from .bencode import bencode
|
||||
else:
|
||||
from .bencode3 import bencode
|
||||
from .bencode3 import bencode
|
||||
from threading import Event
|
||||
from time import time
|
||||
from traceback import print_exc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue