mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-08 21:51:29 +00:00
Fixing some Python drei stuff
This commit is contained in:
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:
|
||||
|
||||
Reference in New Issue
Block a user