diff options
author | 2016-11-09 21:49:06 -0500 | |
---|---|---|
committer | 2016-11-09 21:49:35 -0500 | |
commit | 7d1a6df6514991adeaa6deeb5d710354967bcc8c (patch) | |
tree | 6605ade5e6ce20cccc414d00b976cdb52948bae3 | |
parent | layman/module.py: Fix commit 63808ef00f94 mis-applied 'sourcefile' attribute ... (diff) | |
download | layman-7d1a6df6514991adeaa6deeb5d710354967bcc8c.tar.gz layman-7d1a6df6514991adeaa6deeb5d710354967bcc8c.tar.bz2 layman-7d1a6df6514991adeaa6deeb5d710354967bcc8c.zip |
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.
-rw-r--r-- | layman/utils.py | 3 |
1 files changed, 0 insertions, 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) |