Skip to content

Commit 501427e

Browse files
committed
Removed un-used variables #7
Signed-off-by: kartik sibal <kartiksibal@gmail.com>
1 parent 784a367 commit 501427e

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

scraper/ubuntu.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,10 @@
3333
def extract_cves(html):
3434
soup = bs4.BeautifulSoup(html, 'lxml')
3535

36-
count = 0
37-
3836
cve_id = []
3937
package_name = []
4038
vulnerability_status = []
4139

42-
fields = [cve_id, vulnerability_status, package_name]
43-
44-
fieldss = ['cve_id', 'vulnerability_status', 'package_name']
45-
46-
cve = {}
47-
4840
for tag in soup.find_all('tr'):
4941
if re.match('<\w+\s\w+="(\w+)">', str(tag)):
5042
status = re.findall('<\w+\s\w+="(\w+)">', str(tag))

0 commit comments

Comments
 (0)