bandit fails to run with medium severity under python 3.4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bandit |
Invalid
|
Undecided
|
Unassigned |
Bug Description
austin@aw25 ~/src $ bandit -r my_python_project/ -ll -n3
[bandit] INFO using config: /usr/lib64/
[bandit] INFO running on Python 3.4.3
104 [0.. 50.. 100.. ]
Traceback (most recent call last):
File "/usr/lib/
sys.
File "/usr/lib64/
args.
File "/usr/lib64/
output_
File "/usr/lib64/
self.
File "/usr/lib64/
report_
File "/usr/lib64/
result_
File "/usr/lib64/
file_len)
File "/usr/lib64/
l_range = l_range[start:end + 1]
TypeError: slice indices must be integers or None or have an __index__ method
either going to -lll (high) and/or removing -n3 seems to avoid the problem.
Mismatched python versions, closing invalid.