Cleaning a leftover from be26392057

This commit is contained in:
Miroslav Stampar 2016-05-06 10:30:58 +02:00
parent be26392057
commit 8bbfee7591
2 changed files with 2 additions and 3 deletions

View File

@ -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")

View File

@ -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 "