From 970314566b509a2605b2d6b0e74df9c8cc3511fe Mon Sep 17 00:00:00 2001 From: Ondrej Lichtner Date: Thu, 21 Nov 2024 18:08:02 +0100 Subject: [PATCH] StatCPUMeasurementResults: fix __init__ arguments Not using **kwargs means that it wasn't possible to use named init arguments when creating a new instance of the object. Signed-off-by: Ondrej Lichtner --- .../Perf/Measurements/Results/StatCPUMeasurementResults.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lnst/RecipeCommon/Perf/Measurements/Results/StatCPUMeasurementResults.py b/lnst/RecipeCommon/Perf/Measurements/Results/StatCPUMeasurementResults.py index 4460bdd2..0407a610 100644 --- a/lnst/RecipeCommon/Perf/Measurements/Results/StatCPUMeasurementResults.py +++ b/lnst/RecipeCommon/Perf/Measurements/Results/StatCPUMeasurementResults.py @@ -4,8 +4,8 @@ class StatCPUMeasurementResults(CPUMeasurementResults): - def __init__(self, *args): - super(StatCPUMeasurementResults, self).__init__(*args) + def __init__(self, *args, **kwargs): + super(StatCPUMeasurementResults, self).__init__(*args, **kwargs) self._data = {} def update_intervals(self, intervals):