mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 01:26:42 +03:00
Cleaning a leftover from be26392057
This commit is contained in:
parent
be26392057
commit
8bbfee7591
|
@ -19,7 +19,7 @@ from lib.core.enums import OS
|
|||
from lib.core.revision import getRevisionNumber
|
||||
|
||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||
VERSION = "1.0.5.12"
|
||||
VERSION = "1.0.5.13"
|
||||
REVISION = getRevisionNumber()
|
||||
STABLE = VERSION.count('.') <= 2
|
||||
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")
|
||||
|
|
|
@ -81,8 +81,7 @@ def checkEnvironment():
|
|||
logger.critical(errMsg)
|
||||
raise SystemExit
|
||||
|
||||
#if distutils.version.LooseVersion(VERSION) < distutils.version.LooseVersion("1.0"):
|
||||
if True:
|
||||
if distutils.version.LooseVersion(VERSION) < distutils.version.LooseVersion("1.0"):
|
||||
errMsg = "your runtime environment (e.g. PYTHONPATH) is "
|
||||
errMsg += "broken. Please make sure that you are not running "
|
||||
errMsg += "newer versions of sqlmap with runtime scripts for older "
|
||||
|
|
Loading…
Reference in New Issue
Block a user