updated usages of super to use python3 variation
This commit is contained in:
parent
6a0a9e7698
commit
68be311c7a
15 changed files with 33 additions and 40 deletions
|
@ -61,7 +61,7 @@ class SessionConfig(ConfigurableManager, ConfigurableOptions):
|
|||
config_type = RegisterTlvs.UTILITY.value
|
||||
|
||||
def __init__(self):
|
||||
super(SessionConfig, self).__init__()
|
||||
super().__init__()
|
||||
self.set_configs(self.default_values())
|
||||
|
||||
def get_config(
|
||||
|
@ -71,9 +71,7 @@ class SessionConfig(ConfigurableManager, ConfigurableOptions):
|
|||
config_type=ConfigurableManager._default_type,
|
||||
default=None,
|
||||
):
|
||||
value = super(SessionConfig, self).get_config(
|
||||
_id, node_id, config_type, default
|
||||
)
|
||||
value = super().get_config(_id, node_id, config_type, default)
|
||||
if value == "":
|
||||
value = default
|
||||
return value
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue