File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818from thirdparty .six import unichr as _unichr
1919
2020# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21- VERSION = "1.5.1.32 "
21+ VERSION = "1.5.1.33 "
2222TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2323TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2424VERSION_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():
134134
135135# Lots of stdlib and builtin differences.
136136if py3k :
137+ try :
138+ from collections .abc import MutableMapping as DictMixin
139+ except ImportError :
140+ from collections import MutableMapping as DictMixin
141+
137142 import http .client as httplib
138143 import _thread as thread
139144 from urllib .parse import urljoin , SplitResult as UrlSplitResult
140145 from urllib .parse import urlencode , quote as urlquote , unquote as urlunquote
141146 urlunquote = functools .partial (urlunquote , encoding = 'latin1' )
142147 from http .cookies import SimpleCookie
143- from collections import MutableMapping as DictMixin
144148 import pickle
145149 from io import BytesIO
146150 from configparser import ConfigParser , Error as ConfigParserError
Original file line number Diff line number Diff line change 2323try :
2424 from UserDict import DictMixin
2525except 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
2730
2831class OrderedDict (dict , DictMixin ):
2932
You can’t perform that action at this time.
0 commit comments