diff --git a/package-managers/dnf-qubes-hooks.py b/package-managers/dnf-qubes-hooks.py index 7da6c73..473553d 100644 --- a/package-managers/dnf-qubes-hooks.py +++ b/package-managers/dnf-qubes-hooks.py @@ -67,8 +67,7 @@ class QubesHooks(dnf.Plugin): just_installed = self.base.transaction # ...and filter them out of available updates for item in just_installed: - for pkg in item.installs(): - updates.discard(pkg) + updates.discard(item.pkg) subprocess.call([ '/usr/lib/qubes/qrexec-client-vm', 'dom0',