File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 18
18
from thirdparty .six import unichr as _unichr
19
19
20
20
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21
- VERSION = "1.5.1.32 "
21
+ VERSION = "1.5.1.33 "
22
22
TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
23
23
TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
24
24
VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
Original file line number Diff line number Diff line change @@ -134,13 +134,17 @@ def _e():
134
134
135
135
# Lots of stdlib and builtin differences.
136
136
if py3k :
137
+ try :
138
+ from collections .abc import MutableMapping as DictMixin
139
+ except ImportError :
140
+ from collections import MutableMapping as DictMixin
141
+
137
142
import http .client as httplib
138
143
import _thread as thread
139
144
from urllib .parse import urljoin , SplitResult as UrlSplitResult
140
145
from urllib .parse import urlencode , quote as urlquote , unquote as urlunquote
141
146
urlunquote = functools .partial (urlunquote , encoding = 'latin1' )
142
147
from http .cookies import SimpleCookie
143
- from collections import MutableMapping as DictMixin
144
148
import pickle
145
149
from io import BytesIO
146
150
from configparser import ConfigParser , Error as ConfigParserError
Original file line number Diff line number Diff line change 23
23
try :
24
24
from UserDict import DictMixin
25
25
except ImportError :
26
- from collections import MutableMapping as DictMixin
26
+ try :
27
+ from collections .abc import MutableMapping as DictMixin
28
+ except ImportError :
29
+ from collections import MutableMapping as DictMixin
27
30
28
31
class OrderedDict (dict , DictMixin ):
29
32
You can’t perform that action at this time.
0 commit comments