Skip to content

Commit

Permalink
payload: don't check PKG_VERIFY dnf progress messages
Browse files Browse the repository at this point in the history
The messages were removed.

Related: rhbz#2242076
  • Loading branch information
rvykydal committed Oct 4, 2023
1 parent 7c27d79 commit 679b0e9
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions pyanaconda/modules/payloads/payload/dnf/transaction_progress.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ def process_transaction_progress(queue, callback):
callback(_("Installing {}").format(msg))
elif token == 'configure':
callback(_("Configuring {}").format(msg))
elif token == 'verify':
callback(_("Verifying {}").format(msg))
elif token == 'log':
log.info(msg)
elif token == 'post':
Expand Down Expand Up @@ -123,19 +121,6 @@ def progress(self, package, action, ti_done, ti_total, ts_done, ts_total):
msg = '%s.%s' % (package.name, package.arch)
self._queue.put(('configure', msg))

elif action == dnf.transaction.PKG_VERIFY:
msg = '%s.%s (%d/%d)' % (package.name, package.arch, ts_done, ts_total)
self._queue.put(('verify', msg))

# Log the exact package nevra, build time and checksum
nevra = "%s-%s.%s" % (package.name, package.evr, package.arch)
log_msg = "Verifying: %s %s %s" % (nevra, package.buildtime, package.returnIdSum()[1])
self._queue.put(('log', log_msg))

# Once the last package is verified the transaction is over
if ts_done == ts_total:
self._queue.put(('done', None))

def error(self, message):
"""Report an error that occurred during the transaction.
Expand Down

0 comments on commit 679b0e9

Please sign in to comment.