diff mbox

[v9,2/4] qapi: [trivial] Do not catch unknown exceptions in "test-qapi.py"

Message ID 20140413190804.5822.96893.stgit@fimbulvetr.bsc.es
State New
Headers show

Commit Message

Lluís Vilanova April 13, 2014, 7:08 p.m. UTC
Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
---
 tests/qapi-schema/test-qapi.py |    3 ---
 1 file changed, 3 deletions(-)

Comments

Eric Blake April 14, 2014, 3:12 p.m. UTC | #1
On 04/13/2014 01:08 PM, Lluís Vilanova wrote:
> Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
> ---
>  tests/qapi-schema/test-qapi.py |    3 ---
>  1 file changed, 3 deletions(-)

Reviewed-by: Eric Blake <eblake@redhat.com>
diff mbox

Patch

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)