Trivial update (unused globals)

This commit is contained in:
Miroslav Stampar 2019-06-03 15:11:36 +02:00
parent c00a642569
commit 2b79f45cbc
3 changed files with 1 additions and 5 deletions

View File

@ -18,7 +18,7 @@ from lib.core.enums import OS
from thirdparty.six import unichr as _unichr
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
VERSION = "1.3.6.7"
VERSION = "1.3.6.8"
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

View File

@ -77,8 +77,6 @@ def getCurrentThreadData():
Returns current thread's local data
"""
global ThreadData
return ThreadData
def getCurrentThreadName():

View File

@ -27,8 +27,6 @@ def configFileProxy(section, option, datatype):
advanced dictionary.
"""
global config
if config.has_option(section, option):
try:
if datatype == OPTION_TYPE.BOOLEAN: