Commit dcd3609
Filter out empty values from
Sometimes, when the `--analyze-setup-py-insecurely` parameter is used,
the requirements resolution can contain some empty elements. For
instance for gnupg-2.3.1/gnupg-2.3.1/setup.py, the requirements are
resolved to ['psutil>=1.2.1', '']. The second element of this array
crashes the Python Inspector.
This commit fixes the issue by removing empty elements from the array.
Resolves #247.
Signed-off-by: Nicolas Nobelis <nicolas.nobelis@bosch.com>install_requires
1 parent 7238a61 commit dcd3609
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
124 | 125 | | |
125 | 126 | | |
126 | 127 | | |
| |||
0 commit comments