mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
Patch for Python 2.6
This commit is contained in:
2
thirdparty/chardet/utf8prober.py
vendored
2
thirdparty/chardet/utf8prober.py
vendored
@@ -31,7 +31,7 @@ from .charsetprober import CharSetProber
|
||||
from .codingstatemachine import CodingStateMachine
|
||||
from .mbcssm import UTF8SMModel
|
||||
|
||||
if sys.version_info.major > 2:
|
||||
if sys.version_info >= (3, 0):
|
||||
xrange = range
|
||||
|
||||
ONE_CHAR_PROB = 0.5
|
||||
|
||||
Reference in New Issue
Block a user