From da733605d0e7e1e800166b0bacd9cb6144e670bc Mon Sep 17 00:00:00 2001
From: Douglas Raillard <douglas.raillard@arm.com>
Date: Mon, 11 Dec 2023 10:50:27 +0000
Subject: [PATCH] lisa.wlgen.rta: Fix double self parameter passing

FIX

Avoid passing "self" both as positional and as keyword parameter in
RTA.__init__().
---
 lisa/wlgen/rta.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisa/wlgen/rta.py b/lisa/wlgen/rta.py
index b349ea1b66..2630ee7e0f 100644
--- a/lisa/wlgen/rta.py
+++ b/lisa/wlgen/rta.py
@@ -625,7 +625,7 @@ def __init__(self, target, name=None, res_dir=None, json_file=None, _early_init_
         # Don't add code here, use the early/late init methods instead.
         # This lets us factorize some code for the class methods that serve as
         # alternate constructors.
-        self._early_init(**_early_init_kwargs)
+        self.__class__._early_init(**_early_init_kwargs)
 
         from_path_kwargs.update(
             path=json_file,