mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Fixing Python3.10 incompatibility
This commit is contained in:
parent
6fa5922fbd
commit
fd137b49ef
3 changed files with 9 additions and 2 deletions
6
thirdparty/six/__init__.py
vendored
6
thirdparty/six/__init__.py
vendored
|
|
@ -223,6 +223,12 @@ class _SixMetaPathImporter(object):
|
|||
return None
|
||||
get_source = get_code # same as get_code
|
||||
|
||||
def create_module(self, spec):
|
||||
return self.load_module(spec.name)
|
||||
|
||||
def exec_module(self, module):
|
||||
pass
|
||||
|
||||
_importer = _SixMetaPathImporter(__name__)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue