From cf36b7ab1e1eb9d91b0877b55115d9a6ad2f196c Mon Sep 17 00:00:00 2001 From: Cheeze-It Date: Mon, 23 Nov 2020 13:59:33 -0700 Subject: mpls-conf: T915: fix Python format string after refactoring --- src/conf_mode/protocols_mpls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/conf_mode/protocols_mpls.py b/src/conf_mode/protocols_mpls.py index 7541750ee..da298325c 100755 --- a/src/conf_mode/protocols_mpls.py +++ b/src/conf_mode/protocols_mpls.py @@ -100,7 +100,7 @@ def apply(mpls): labels = '0' if 'interface' in mpls: labels = '1048575' - call('sysctl -wq net.mpls.platform_labels={labels}') + call(f'sysctl -wq net.mpls.platform_labels={labels}') # Check for changes in global MPLS options if 'parameters' in mpls: -- cgit v1.2.3