mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +03:00
Minor Travis patch
This commit is contained in:
parent
3915b45665
commit
6010db56ee
|
@ -2265,7 +2265,7 @@ def average(values):
|
||||||
"""
|
"""
|
||||||
Computes the arithmetic mean of a list of numbers.
|
Computes the arithmetic mean of a list of numbers.
|
||||||
|
|
||||||
>>> average([0.9, 0.9, 0.9, 1.0, 0.8, 0.9])
|
>>> round(average([0.9, 0.9, 0.9, 1.0, 0.8, 0.9]), 1)
|
||||||
0.9
|
0.9
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
@ -2278,8 +2278,8 @@ def stdev(values):
|
||||||
|
|
||||||
# Reference: http://www.goldb.org/corestats.html
|
# Reference: http://www.goldb.org/corestats.html
|
||||||
|
|
||||||
>>> stdev([0.9, 0.9, 0.9, 1.0, 0.8, 0.9])
|
>>> round(stdev([0.9, 0.9, 0.9, 1.0, 0.8, 0.9]), 3)
|
||||||
0.06324555320336757
|
0.063
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if not values or len(values) < 2:
|
if not values or len(values) < 2:
|
||||||
|
|
|
@ -18,7 +18,7 @@ from lib.core.enums import OS
|
||||||
from thirdparty import six
|
from thirdparty import six
|
||||||
|
|
||||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||||
VERSION = "1.3.5.66"
|
VERSION = "1.3.5.67"
|
||||||
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
||||||
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
|
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)
|
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user