From 59078ee31fc5437e1df51e2f6f086162ab11c1d7 Mon Sep 17 00:00:00 2001 From: Ludovic <54670129+lbr38@users.noreply.github.com> Date: Sat, 28 Sep 2024 11:20:55 +0200 Subject: [PATCH] patch --- src/controllers/Package/Dnf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/controllers/Package/Dnf.py b/src/controllers/Package/Dnf.py index c679624..3e9e69a 100644 --- a/src/controllers/Package/Dnf.py +++ b/src/controllers/Package/Dnf.py @@ -347,7 +347,8 @@ def update(self, packagesList, exit_on_package_update_error: bool = True, dry_ru # If dry_run is True, add the --setopt tsflags=test option to simulate the update if dry_run: - cmd.append('--setopt', 'tsflags=test') + cmd.append('--setopt') + cmd.append('tsflags=test') popen = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, bufsize=1, universal_newlines=True)