Skip to content

Commit

Permalink
lisa.wlgen.rta: Fix double self parameter passing
Browse files Browse the repository at this point in the history
FIX

Avoid passing "self" both as positional and as keyword parameter in
RTA.__init__().
  • Loading branch information
douglas-raillard-arm committed Dec 11, 2023
1 parent 627de71 commit da73360
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lisa/wlgen/rta.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit da73360

Please sign in to comment.