From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 78BF6139578 for ; Thu, 10 Nov 2016 02:59:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 86307E0888; Thu, 10 Nov 2016 02:59:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 715EBE0888 for ; Thu, 10 Nov 2016 02:59:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 76B53341293 for ; Thu, 10 Nov 2016 02:59:49 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D9590A7 for ; Thu, 10 Nov 2016 02:59:47 +0000 (UTC) From: "Devan Franchini" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Devan Franchini" Message-ID: <1478746175.7d1a6df6514991adeaa6deeb5d710354967bcc8c.twitch153@gentoo> Subject: [gentoo-commits] proj/layman:master commit in: layman/ X-VCS-Repository: proj/layman X-VCS-Files: layman/utils.py X-VCS-Directories: layman/ X-VCS-Committer: twitch153 X-VCS-Committer-Name: Devan Franchini X-VCS-Revision: 7d1a6df6514991adeaa6deeb5d710354967bcc8c X-VCS-Branch: master Date: Thu, 10 Nov 2016 02:59:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 2704be81-3a2b-4f4f-97d0-81d1c8b572e3 X-Archives-Hash: ff377a157775abcecf1027d53d6bdcee commit: 7d1a6df6514991adeaa6deeb5d710354967bcc8c Author: Devan Franchini gentoo org> AuthorDate: Thu Nov 10 02:49:06 2016 +0000 Commit: Devan Franchini gentoo 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)