Skip to content

Commit

Permalink
Revert "Block signals during RPM transaction processing (RhBug:2127943)"
Browse files Browse the repository at this point in the history
The fix has unintended consequences.

The solution is not that simple, proper fix is postponed for now.

This reverts commit db833ff.
  • Loading branch information
jan-kolarik authored and kontura committed Oct 19, 2022
1 parent db833ff commit 969781d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions dnf/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1028,9 +1028,6 @@ def do_transaction(self, display=()):
for display_ in cb.displays:
display_.output = False

# block signals to disallow external interruptions of the transaction
rpm.blockSignals(True)

self._plugins.run_pre_transaction()

logger.info(_('Running transaction'))
Expand All @@ -1048,9 +1045,6 @@ def _pto_callback(action, tsis):
for msg in dnf.util._post_transaction_output(self, self.transaction, _pto_callback):
logger.debug(msg)

# unblock signals as we are done with the transaction
rpm.blockSignals(False)

return tid

def _trans_error_summary(self, errstring):
Expand Down

0 comments on commit 969781d

Please sign in to comment.