Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2b79f45

Browse files
committed
Trivial update (unused globals)
1 parent c00a642 commit 2b79f45

3 files changed

Lines changed: 1 addition & 5 deletions

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from thirdparty.six import unichr as _unichr
1919

2020
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21-
VERSION = "1.3.6.7"
21+
VERSION = "1.3.6.8"
2222
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2323
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2424
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

lib/core/threads.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,6 @@ def getCurrentThreadData():
7777
Returns current thread's local data
7878
"""
7979

80-
global ThreadData
81-
8280
return ThreadData
8381

8482
def getCurrentThreadName():

lib/parse/configfile.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ def configFileProxy(section, option, datatype):
2727
advanced dictionary.
2828
"""
2929

30-
global config
31-
3230
if config.has_option(section, option):
3331
try:
3432
if datatype == OPTION_TYPE.BOOLEAN:

0 commit comments

Comments
 (0)