mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 04:31:30 +00:00
More DREI stuff
This commit is contained in:
6
thirdparty/bottle/bottle.py
vendored
6
thirdparty/bottle/bottle.py
vendored
@@ -134,13 +134,17 @@ except IOError:
|
||||
|
||||
# Lots of stdlib and builtin differences.
|
||||
if py3k:
|
||||
try:
|
||||
from collections.abc import MutableMapping as DictMixin
|
||||
except ImportError:
|
||||
from collections import MutableMapping as DictMixin
|
||||
|
||||
import http.client as httplib
|
||||
import _thread as thread
|
||||
from urllib.parse import urljoin, SplitResult as UrlSplitResult
|
||||
from urllib.parse import urlencode, quote as urlquote, unquote as urlunquote
|
||||
urlunquote = functools.partial(urlunquote, encoding='latin1')
|
||||
from http.cookies import SimpleCookie
|
||||
from collections import MutableMapping as DictMixin
|
||||
import pickle
|
||||
from io import BytesIO
|
||||
from configparser import ConfigParser, Error as ConfigParserError
|
||||
|
||||
5
thirdparty/odict/ordereddict.py
vendored
5
thirdparty/odict/ordereddict.py
vendored
@@ -23,7 +23,10 @@
|
||||
try:
|
||||
from UserDict import DictMixin
|
||||
except ImportError:
|
||||
from collections import MutableMapping as DictMixin
|
||||
try:
|
||||
from collections.abc import MutableMapping as DictMixin
|
||||
except ImportError:
|
||||
from collections import MutableMapping as DictMixin
|
||||
|
||||
class OrderedDict(dict, DictMixin):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user