From patchwork Fri May 2 13:46:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Llu=C3=ADs_Vilanova?= X-Patchwork-Id: 344972 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 57091140088 for ; Fri, 2 May 2014 23:50:05 +1000 (EST) Received: from localhost ([::1]:44591 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WgDql-0000C6-3V for incoming@patchwork.ozlabs.org; Fri, 02 May 2014 09:50:03 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52429) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WgDnp-0004HR-DT for qemu-devel@nongnu.org; Fri, 02 May 2014 09:47:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WgDnj-0000xj-55 for qemu-devel@nongnu.org; Fri, 02 May 2014 09:47:01 -0400 Received: from roura.ac.upc.es ([147.83.33.10]:54319) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WgDni-0000xL-AE for qemu-devel@nongnu.org; Fri, 02 May 2014 09:46:55 -0400 Received: from gw-3.ac.upc.es (gw-3.ac.upc.es [147.83.30.9]) by roura.ac.upc.es (8.13.8/8.13.8) with ESMTP id s42DkrBU009777; Fri, 2 May 2014 15:46:53 +0200 Received: from localhost (unknown [84.88.51.85]) by gw-3.ac.upc.es (Postfix) with ESMTPSA id F0285395; Fri, 2 May 2014 15:46:52 +0200 (CEST) From: =?utf-8?b?TGx1w61z?= Vilanova To: qemu-devel@nongnu.org Date: Fri, 2 May 2014 15:46:52 +0200 Message-Id: <20140502134652.26227.88839.stgit@fimbulvetr.bsc.es> X-Mailer: git-send-email 1.9.2 In-Reply-To: <20140502134641.26227.98555.stgit@fimbulvetr.bsc.es> References: <20140502134641.26227.98555.stgit@fimbulvetr.bsc.es> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 X-MIME-Autoconverted: from 8bit to quoted-printable by roura.ac.upc.es id s42DkrBU009777 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 147.83.33.10 Cc: =?UTF-8?q?Beno=C3=AEt=20Canet?= , Markus Armbruster , Luiz Capitulino Subject: [Qemu-devel] [PATCH v11 2/4] qapi: [trivial] Do not catch unknown exceptions in "test-qapi.py" X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: LluĂ­s Vilanova Reviewed-by: Eric Blake --- tests/qapi-schema/test-qapi.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/qapi-schema/test-qapi.py b/tests/qapi-schema/test-qapi.py index b3d1e1d..5a26ef3 100644 --- a/tests/qapi-schema/test-qapi.py +++ b/tests/qapi-schema/test-qapi.py @@ -18,9 +18,6 @@ try: exprs = parse_schema(sys.stdin) except SystemExit: raise -except: - print >>sys.stderr, "Crashed:", sys.exc_info()[0] - exit(1) pprint(exprs) pprint(enum_types)