commit: 7d1a6df6514991adeaa6deeb5d710354967bcc8c
Author: Devan Franchini <twitch153 <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 10 02:49:06 2016 +0000
Commit: Devan Franchini <twitch153 <AT> gentoo <DOT> org>
CommitDate: Thu Nov 10 02:49:35 2016 +0000
URL: https://gitweb.gentoo.org/proj/layman.git/commit/?id=7d1a6df6
utils.py: Removes catching KeyboardInterrupt
As per bug 539336 it's near impossible to kill a stampeding layman
process. This was due to the run_command() function which caught
the KeyboardInterrupt exception.
layman/utils.py | 3 ---
1 file changed, 3 deletions(-)
diff --git a/layman/utils.py b/layman/utils.py
index 9530701..c008530 100644
--- a/layman/utils.py
+++ b/layman/utils.py
@@ -270,9 +270,6 @@ def run_command(config, command, args, **kwargs):
try:
result = proc.wait()
- except KeyboardInterrupt:
- output.info('Interrupted manually', 2)
- result = 1
except Exception as err:
output.error(
'Unknown exception running command: %s' % command_repr)