diff --git a/bandit/blacklists/calls.py b/bandit/blacklists/calls.py index c0037c03..2075a740 100644 --- a/bandit/blacklists/calls.py +++ b/bandit/blacklists/calls.py @@ -251,7 +251,7 @@ to XML attacks. Methods should be replaced with their defusedxml equivalents. B321: ftplib ------------ -FTP-related funtions are being called. FTP is considered insecure. Use +FTP-related functions are being called. FTP is considered insecure. Use SSH/SFTP/SCP or some other encrypted protocol. +------+---------------------+------------------------------------+-----------+ @@ -386,7 +386,7 @@ def gen_blacklist(): sets.append(utils.build_conf_dict( 'telnetlib', 'B312', ['telnetlib.*'], - 'Telnet-related funtions are being called. Telnet is considered ' + 'Telnet-related functions are being called. Telnet is considered ' 'insecure. Use SSH or some other encrypted protocol.', 'HIGH' )) @@ -465,7 +465,7 @@ def gen_blacklist(): sets.append(utils.build_conf_dict( 'ftplib', 'B321', ['ftplib.*'], - 'FTP-related funtions are being called. FTP is considered ' + 'FTP-related functions are being called. FTP is considered ' 'insecure. Use SSH/SFTP/SCP or some other encrypted protocol.', 'HIGH' )) diff --git a/bandit/core/utils.py b/bandit/core/utils.py index dcb9f78c..97db6515 100644 --- a/bandit/core/utils.py +++ b/bandit/core/utils.py @@ -248,7 +248,7 @@ def concat_string(node, stop=None): '''Builds a string from a ast.BinOp chain. This will build a string from a series of ast.Str nodes wrapped in - ast.BinOp nodes. Somthing like "a" + "b" + "c" or "a %s" % val etc. + ast.BinOp nodes. Something like "a" + "b" + "c" or "a %s" % val etc. The provided node can be any participant in the BinOp chain. :param node: (ast.Str or ast.BinOp) The node to process