From 2324cc32409c608064568d0fd2b5a91ec2b07497 Mon Sep 17 00:00:00 2001 From: khramshinr Date: Wed, 5 Feb 2025 12:29:05 +0700 Subject: [PATCH] T6058: Fix git commit archive Fix popen wrapper --- python/vyos/utils/process.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/vyos/utils/process.py b/python/vyos/utils/process.py index 0540883255..121b6e240c 100644 --- a/python/vyos/utils/process.py +++ b/python/vyos/utils/process.py @@ -83,7 +83,7 @@ def popen(command, flag='', shell=None, input=None, timeout=None, env=None, ) wrapper = get_wrapper(vrf, netns, auth) - command = f'{wrapper} {command}' + command = f'{wrapper} {command}' if wrapper else command cmd_msg = f"cmd '{command}'" debug.message(cmd_msg, flag)