From cad5a69f8326c00b10f24872e4616a5238644d1d Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Thu, 7 Jan 2021 14:39:40 +0100 Subject: [PATCH] support/scripts/pkg-stats: drop unused cpeid_name() function The cpeid_name() function is not used anywhere, drop it. Signed-off-by: Thomas Petazzoni --- support/scripts/pkg-stats | 7 ------- 1 file changed, 7 deletions(-) diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index ef181a8813..66d612ee7b 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -1059,13 +1059,6 @@ def parse_args(): return args -def cpeid_name(pkg): - try: - return pkg.cpeid.split(':')[1] - except Exception: # cpeid may be None, or improperly formatted - return '' - - def __main__(): global cvecheck -- 2.30.2