Remove Python 2.6 support code

This commit is contained in:
Stefan Wehrmeyer
2017-09-29 14:11:07 +02:00
parent 1fd2a15273
commit da901efbf7
2 changed files with 7 additions and 13 deletions
+3 -6
View File
@@ -3,14 +3,11 @@ try:
except ImportError:
from urllib.parse import urlparse
try:
from collections import OrderedDict
except ImportError: # pragma: no cover
from ordereddict import OrderedDict
from collections import OrderedDict, Sequence
from hashlib import sha1
from six import string_types
from collections import Sequence
from hashlib import sha1
QUERY_STEP = 1000
row_type = OrderedDict