Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Klaas- authored Oct 15, 2024
1 parent 39ae47d commit 032c5b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dnf/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2838,8 +2838,8 @@ def reboot_needed(self):

# List taken from DNF needs-restarting
need_reboot = frozenset(('kernel', 'kernel-core', 'kernel-rt', 'glibc',
'linux-firmware', 'systemd', 'dbus',
'dbus-broker', 'dbus-daemon', 'microcode_ctl'))
'linux-firmware', 'systemd', 'dbus',
'dbus-broker', 'dbus-daemon', 'microcode_ctl'))
changed_pkgs = self.transaction.install_set | self.transaction.remove_set
return any(pkg.name in need_reboot for pkg in changed_pkgs)

Expand Down

0 comments on commit 032c5b8

Please sign in to comment.