Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix AttributeError on detect of tuple assign condition (#931)
In a specific example where a tuple is assigned to a call such as a choice of options, Bandit throws a traceback due to an assumption the assign is to a value of another tuple instead of a call. This change will avoid the traceback, but not necessarily help in detection of an XSS in this example. Fixes #520 Signed-off-by: Eric Brown <eric_wade_brown@yahoo.com>
- Loading branch information