Skip to content

Commit 6244850

Browse files
committed
More DREI stuff
1 parent d785902 commit 6244850

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from 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"
2222
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2323
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2424
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

thirdparty/bottle/bottle.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,13 +134,17 @@ def _e():
134134

135135
# Lots of stdlib and builtin differences.
136136
if 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

thirdparty/odict/ordereddict.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@
2323
try:
2424
from UserDict import DictMixin
2525
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
2730

2831
class OrderedDict(dict, DictMixin):
2932

0 commit comments

Comments
 (0)