Skip to content

Commit

Permalink
StatCPUMeasurementResults: fix __init__ arguments
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
olichtne committed Nov 22, 2024
1 parent cb270c4 commit 9703145
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 9703145

Please sign in to comment.