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

Skip to content

Commit d5fb3a0

Browse files
committed
Minor update
1 parent fa2572f commit d5fb3a0

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

extra/shutils/duplicates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
items = list()
1515

1616
with open(sys.argv[1], 'r') as f:
17-
for item in f.readlines():
17+
for item in f:
1818
item = item.strip()
1919
try:
2020
str.encode(item)

lib/core/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2293,7 +2293,7 @@ def initCommonOutputs():
22932293
key = None
22942294

22952295
with openFile(paths.COMMON_OUTPUTS, 'r') as f:
2296-
for line in f.readlines(): # xreadlines doesn't return unicode strings when codec.open() is used
2296+
for line in f:
22972297
if line.find('#') != -1:
22982298
line = line[:line.find('#')]
22992299

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 import six
1919

2020
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21-
VERSION = "1.3.5.47"
21+
VERSION = "1.3.5.48"
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)

0 commit comments

Comments
 (0)