Skip to content

Commit

Permalink
TEMPORARY: Do not call libdnf5.rpm.to_full_nevra_string
Browse files Browse the repository at this point in the history
It's not on the API, see issue:
rpm-software-management/dnf5#1644
  • Loading branch information
pkratoch committed Aug 28, 2024
1 parent 61a02eb commit c6a7c0d
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions pyanaconda/modules/payloads/payload/dnf/transaction_progress.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,13 @@ def script_start(self, item, nevra, type):
# that is not part of the transaction.
item.get_package().to_string() if item else "unknown",
# FIXME: full nevra
libdnf5.rpm.to_full_nevra_string(nevra),
#libdnf5.rpm.to_full_nevra_string(nevra),
nevra.get_name(),
libdnf5.rpm.TransactionCallbacks.script_type_to_string(type)
)
self._queue.put(('configure', libdnf5.rpm.to_full_nevra_string(nevra)))
# FIXME: full nevra
#libdnf5.rpm.to_full_nevra_string(nevra),
self._queue.put(('configure', nevra.get_name()))

def transaction_stop(self, total):
log.debug("Done - %s", total)
Expand All @@ -108,7 +111,9 @@ def script_error(self, item, nevra, type, return_code):
# There reason is some scriptlets (namely file triggers) can be run for a package
# that is not part of the transaction.
item.get_package().to_string() if item else "unknown",
libdnf5.rpm.to_full_nevra_string(nevra),
# FIXME: full nevra
#libdnf5.rpm.to_full_nevra_string(nevra),
nevra.get_name(),
libdnf5.rpm.TransactionCallbacks.script_type_to_string(type),
return_code
)
Expand Down

0 comments on commit c6a7c0d

Please sign in to comment.