From f0c38c2b6ddacfffe6d0b097952ac35fbe5a36fa Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sun, 30 Apr 2023 20:40:40 +0200 Subject: T5150: harmonize verify() error message - encapsulate variable in "" quotes --- src/conf_mode/protocols_isis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/conf_mode/protocols_isis.py') diff --git a/src/conf_mode/protocols_isis.py b/src/conf_mode/protocols_isis.py index af2937db8..ecca87db0 100755 --- a/src/conf_mode/protocols_isis.py +++ b/src/conf_mode/protocols_isis.py @@ -129,7 +129,7 @@ def verify(isis): vrf = isis['vrf'] tmp = get_interface_config(interface) if 'master' not in tmp or tmp['master'] != vrf: - raise ConfigError(f'Interface {interface} is not a member of VRF {vrf}!') + raise ConfigError(f'Interface "{interface}" is not a member of VRF "{vrf}"!') # If md5 and plaintext-password set at the same time for password in ['area_password', 'domain_password']: -- cgit v1.2.3