Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
patch
Browse files Browse the repository at this point in the history
lbr38 committed Sep 28, 2024
1 parent f34005c commit 59078ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/controllers/Package/Dnf.py
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 59078ee

Please sign in to comment.