Merge branch 'master' of https://github.com/david-a-wheeler/flawfinder
Signed-off-by: David A. Wheeler <dwheeler@dwheeler.com>
This commit is contained in:
commit
614801f704
|
@ -62,8 +62,8 @@ As always, if you're modifying the software, you'll need to have
|
||||||
your development environment set up. You need:
|
your development environment set up. You need:
|
||||||
|
|
||||||
* make
|
* make
|
||||||
* python2 (invokable as "python2")
|
* python2 (invocable as "python2")
|
||||||
* python3 (invokable as "python3")
|
* python3 (invocable as "python3")
|
||||||
* pylint (see below)
|
* pylint (see below)
|
||||||
|
|
||||||
An easy way to install pylint is to use pip.
|
An easy way to install pylint is to use pip.
|
||||||
|
|
|
@ -65,7 +65,7 @@ is configured to use UTF-8 (the most common situation by far).
|
||||||
|
|
||||||
However, it's possible for flawfinder to halt if there is a
|
However, it's possible for flawfinder to halt if there is a
|
||||||
character encoding problem and you're running Python3.
|
character encoding problem and you're running Python3.
|
||||||
The usual symptom is error meesages like this:
|
The usual symptom is error messages like this:
|
||||||
`Error: encoding error in FILENAME 'ENCODING' codec can't decode byte ... in position ...: invalid start byte`
|
`Error: encoding error in FILENAME 'ENCODING' codec can't decode byte ... in position ...: invalid start byte`
|
||||||
|
|
||||||
Unfortunately, Python3 fails to provide useful built-ins to deal with this.
|
Unfortunately, Python3 fails to provide useful built-ins to deal with this.
|
||||||
|
|
|
@ -644,6 +644,7 @@ class Hit(object):
|
||||||
print_multi_line(main_text)
|
print_multi_line(main_text)
|
||||||
if output_format:
|
if output_format:
|
||||||
print(" </i>", end='')
|
print(" </i>", end='')
|
||||||
|
print("</li>", end='')
|
||||||
print()
|
print()
|
||||||
if show_context:
|
if show_context:
|
||||||
if output_format:
|
if output_format:
|
||||||
|
|
Loading…
Reference in New Issue