Skip to content

Commit

Permalink
Revert "Block signals during RPM transaction processing"
Browse files Browse the repository at this point in the history
As the change is causing problems when building other packages in Koji buildroot, reverting this until the root cause is properly resolved.
  • Loading branch information
jan-kolarik authored and kontura committed Sep 25, 2023
1 parent 7ee0a82 commit 64c2832
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 64c2832

Please sign in to comment.