Skip to content

Commit f40f09e

Browse files
author
Prabhu Subramanian
committed
Remove traceback
1 parent efdf987 commit f40f09e

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name="appthreat-vulnerability-db",
8-
version="1.6.0",
8+
version="1.6.1",
99
author="Team AppThreat",
1010
author_email="cloud@appthreat.com",
1111
description="AppThreat's vulnerability database and package search library with a built-in file based storage. CVE, GitHub, npm are the primary sources of vulnerabilities.",

vdb/lib/npm.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
LOG = logging.getLogger(__name__)
3333

3434
json_lib = orjson if ORJSON_AVAILABLE else json
35-
import traceback
3635

3736

3837
class NpmSource(NvdSource):
@@ -267,7 +266,5 @@ def to_vuln(self, v, ret_data):
267266
ret_data.append(vuln)
268267
except Exception as e:
269268
LOG.debug(e)
270-
traceback.print_exc()
271-
print(tdata)
272269
vr = vr + 1
273270
return ret_data

0 commit comments

Comments
 (0)