From 5128defbc3996af5f8e28f5681ba4ad5b3c5d023 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Fri, 17 Sep 2021 14:59:19 +0200 Subject: meta: correct collections vs collections.abc deprecation collections.abc is available since 3.3 and doesn't need special handling. (From OE-Core rev: 01152c9410ba00274c8415a5d914dc33dfd0cf46) Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- scripts/lib/build_perf/report.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/lib/build_perf/report.py b/scripts/lib/build_perf/report.py index 4e8e2a8a93..ab77424cc7 100644 --- a/scripts/lib/build_perf/report.py +++ b/scripts/lib/build_perf/report.py @@ -4,7 +4,8 @@ # SPDX-License-Identifier: GPL-2.0-only # """Handling of build perf test reports""" -from collections import OrderedDict, Mapping, namedtuple +from collections import OrderedDict, namedtuple +from collections.abc import Mapping from datetime import datetime, timezone from numbers import Number from statistics import mean, stdev, variance -- cgit v1.2.3-54-g00ecf