Fix pylint warning

This commit is contained in:
Pim van Pelt
2023-01-16 18:00:24 +00:00
parent 02ca2e22cd
commit f654e78ed5

View File

@ -218,7 +218,7 @@ class VPPApi:
enumerating the 'interfaces' scope from yaml_config""" enumerating the 'interfaces' scope from yaml_config"""
if not "interfaces" in yaml_config: if not "interfaces" in yaml_config:
self.logger.error(f"YAML config does not contain any interfaces") self.logger.error("YAML config does not contain any interfaces")
return False return False
self.logger.debug(f"config: {yaml_config['interfaces']}") self.logger.debug(f"config: {yaml_config['interfaces']}")