From 4cdb1f8b25f46297cb286923e9e9116964189a31 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 8 May 2021 22:53:30 +0200 Subject: policy: T2425: bugfix NameError: name 'name' is not defined --- src/conf_mode/policy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conf_mode/policy.py b/src/conf_mode/policy.py index fb732dd81..d56bae9e9 100755 --- a/src/conf_mode/policy.py +++ b/src/conf_mode/policy.py @@ -165,7 +165,7 @@ def verify(policy): found = True if not found: tmp = policy_type.replace('_','-') - raise ConfigError(f'Can not delete {tmp} "{name}", still in use!') + raise ConfigError(f'Can not delete {tmp} "{policy_name}", still in use!') return None -- cgit v1.2.3