mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 05:01:30 +00:00
Patch for Python 2.6
This commit is contained in:
@@ -18,7 +18,7 @@ import sys
|
||||
from optparse import OptionError
|
||||
from optparse import OptionParser
|
||||
|
||||
if sys.version_info.major > 2:
|
||||
if sys.version_info >= (3, 0):
|
||||
xrange = range
|
||||
|
||||
# Regex used for recognition of hex encoded characters
|
||||
|
||||
Reference in New Issue
Block a user