[Buildroot] [PATCH 03/10] support/scripts/pkg-stats: drop unused cpeid_name() function
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Thu Jan 7 13:39:40 UTC 2021
The cpeid_name() function is not used anywhere, drop it.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
support/scripts/pkg-stats | 7 -------
1 file changed, 7 deletions(-)
diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats
index c084c54b60..9d28087d96 100755
--- a/support/scripts/pkg-stats
+++ b/support/scripts/pkg-stats
@@ -1060,13 +1060,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__():
args = parse_args()
if args.packages:
--
2.29.2
More information about the buildroot
mailing list