Преглед на файлове

support/scripts/pkg-stats: drop unused cpeid_name() function

The cpeid_name() function is not used anywhere, drop it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Thomas Petazzoni преди 4 години
родител
ревизия
cad5a69f83
променени са 1 файла, в които са добавени 0 реда и са изтрити 7 реда
  1. 0 7
      support/scripts/pkg-stats

+ 0 - 7
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