Bandit fails when using importlib with named arguments
Bug #1916628 reported by
Marcin Kielar
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bandit |
New
|
Undecided
|
Unassigned |
Bug Description
This code:
```
importlib.
```
causes Bandit to fail like this:
```
75 [0.. [tester] ERROR Bandit internal error running: blacklist on file [MASKED]
File "[MASKED]
result = test(context, test._config)
File "[MASKED]
name = context.
IndexError: list index out of range
```
This works okay:
```
importlib.
```
To post a comment you must log in.