Skip to content

Commit d4b9916

Browse files
author
zhangyanxian
committed
Fix some errors in utils.py & calls.py
Change-Id: I9da07469816eef4a1e2a48235437935e38ff3af4
1 parent bfa7597 commit d4b9916

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

bandit/blacklists/calls.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@
251251
B321: ftplib
252252
------------
253253
254-
FTP-related funtions are being called. FTP is considered insecure. Use
254+
FTP-related functions are being called. FTP is considered insecure. Use
255255
SSH/SFTP/SCP or some other encrypted protocol.
256256
257257
+------+---------------------+------------------------------------+-----------+
@@ -386,7 +386,7 @@ def gen_blacklist():
386386

387387
sets.append(utils.build_conf_dict(
388388
'telnetlib', 'B312', ['telnetlib.*'],
389-
'Telnet-related funtions are being called. Telnet is considered '
389+
'Telnet-related functions are being called. Telnet is considered '
390390
'insecure. Use SSH or some other encrypted protocol.',
391391
'HIGH'
392392
))
@@ -465,7 +465,7 @@ def gen_blacklist():
465465

466466
sets.append(utils.build_conf_dict(
467467
'ftplib', 'B321', ['ftplib.*'],
468-
'FTP-related funtions are being called. FTP is considered '
468+
'FTP-related functions are being called. FTP is considered '
469469
'insecure. Use SSH/SFTP/SCP or some other encrypted protocol.',
470470
'HIGH'
471471
))

bandit/core/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def concat_string(node, stop=None):
248248
'''Builds a string from a ast.BinOp chain.
249249
250250
This will build a string from a series of ast.Str nodes wrapped in
251-
ast.BinOp nodes. Somthing like "a" + "b" + "c" or "a %s" % val etc.
251+
ast.BinOp nodes. Something like "a" + "b" + "c" or "a %s" % val etc.
252252
The provided node can be any participant in the BinOp chain.
253253
254254
:param node: (ast.Str or ast.BinOp) The node to process

0 commit comments

Comments
 (0)