mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Fixing some Python drei stuff
This commit is contained in:
parent
f1ac7dc39b
commit
d37db2e7e8
3 changed files with 8 additions and 6 deletions
8
thirdparty/beautifulsoup/beautifulsoup.py
vendored
8
thirdparty/beautifulsoup/beautifulsoup.py
vendored
|
|
@ -80,7 +80,7 @@ from __future__ import generators
|
|||
from __future__ import print_function
|
||||
|
||||
__author__ = "Leonard Richardson (leonardr@segfault.org)"
|
||||
__version__ = "3.2.1"
|
||||
__version__ = "3.2.1b"
|
||||
__copyright__ = "Copyright (c) 2004-2012 Leonard Richardson"
|
||||
__license__ = "New-style BSD"
|
||||
|
||||
|
|
@ -93,14 +93,16 @@ if sys.version_info >= (3, 0):
|
|||
text_type = str
|
||||
binary_type = bytes
|
||||
basestring = str
|
||||
unichr = chr
|
||||
else:
|
||||
text_type = unicode
|
||||
binary_type = str
|
||||
|
||||
try:
|
||||
from htmlentitydefs import name2codepoint
|
||||
from html.entities import name2codepoint
|
||||
except ImportError:
|
||||
name2codepoint = {}
|
||||
from htmlentitydefs import name2codepoint
|
||||
|
||||
try:
|
||||
set
|
||||
except NameError:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue