Problems in lib/DatabaseLayer.py
znb opened this issue · 1 comments
znb commented
Just a couple of typos in DatabaseLayer.py
On line 316:
item = findRanking(cpe):
Traceback (most recent call last):
File "./db_updater.py", line 22, in <module>
import lib.DatabaseLayer as dbLayer
File "/opt/cve-search/sbin/../lib/DatabaseLayer.py", line 316
item = findRanking(cpe):
On line 328:
colRANKING..remove
Traceback (most recent call last):
File "./db_updater.py", line 22, in <module>
import lib.DatabaseLayer as dbLayer
File "/opt/cve-search/sbin/../lib/DatabaseLayer.py", line 328
return sanitize(colRANKING..remove({'cpe': {'$regex': cpe}}))