aboutcode-org / aboutcode-org/vulnerablecode

TypeError: argument of type 'NoneType' is not iterable test_apache_tomcat

Open
#1,275 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
702
Forks
328
Avg merge
3d 8h
Merged PRs (30d)
3

Description

```
data = requests.get(url).content
soup = BeautifulSoup(data, features="lxml")
for tag in soup.find_all("a"):
link = tag.get("href")

> if "security-" in link and any(char.isdigit() for char in link):
E TypeError: argument of type 'NoneType' is not iterable

vulnerabilities/importers/apache_tomcat.py:141: TypeError

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.