Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running Bandit with -v causes traceback #3

Closed
ericwb opened this issue Apr 26, 2018 · 1 comment
Closed

Running Bandit with -v causes traceback #3

ericwb opened this issue Apr 26, 2018 · 1 comment

Comments

@ericwb
Copy link
Member

ericwb commented Apr 26, 2018

Running Bandit with -v (verbose mode) causes a traceback:

MacBook-Pro:bandit_json_bug travismcpeak$ bandit -v test_file2.py
[bandit] INFO using config: /usr/local/etc/bandit/bandit.yaml
[bandit] INFO running on Python 2.7.10
[node_visitor] INFO Unable to find qualified name for module: test_file2.py
Traceback (most recent call last):
File "/usr/local/bin/bandit", line 10, in
sys.exit(main())
File "/usr/local/lib/python2.7/site-packages/bandit/bandit.py", line 267, in main
args.output_format)
File "/usr/local/lib/python2.7/site-packages/bandit/core/manager.py", line 174, in output_results
lines=lines, out_format=output_format)
File "/usr/local/lib/python2.7/site-packages/bandit/formatters/text.py", line 67, in report
manager.scores)):
TypeError: sum_scores() takes exactly 2 arguments (1 given)

@ericwb
Copy link
Member Author

ericwb commented Apr 26, 2018

Bad import of bug from launchpad. Closing..

@ericwb ericwb closed this as completed Apr 26, 2018
lukehinds pushed a commit that referenced this issue Jan 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant