Fix super() usage for proper initialization of config file
Correct the super().__init__(**kwargs) call to use Python 3's super() without including 'self' following the inheritance model. This change ensures proper initialization of the configuration file. Story: 2011115 Task: 50024 Change-Id: I8675ffe5a6116eb031b6ea1b4aac4214f41421e0
This commit is contained in:
parent
77977988cd
commit
dc78c5aed4
@ -36,7 +36,7 @@ class TempestConf(configparser.ConfigParser):
|
|||||||
self.priority_sectionkeys = set()
|
self.priority_sectionkeys = set()
|
||||||
|
|
||||||
self.write_credentials = write_credentials
|
self.write_credentials = write_credentials
|
||||||
super().__init__(self, **kwargs)
|
super().__init__(**kwargs)
|
||||||
|
|
||||||
def get_bool_value(self, value):
|
def get_bool_value(self, value):
|
||||||
"""Returns boolean value of the string value given.
|
"""Returns boolean value of the string value given.
|
||||||
|
Loading…
Reference in New Issue
Block a user