Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Block signals during RPM transaction processing" #1988

Merged
merged 2 commits into from
Sep 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dnf.spec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
%global hawkey_version 0.71.0
%global libcomps_version 0.1.8
%global libmodulemd_version 2.9.3
%global rpm_version 4.18.0
%global rpm_version 4.14.0

# conflicts
%global conflicts_dnf_plugins_core_version 4.0.26
Expand Down
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
Loading