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

login
register
mail settings
Submitter Lluís Vilanova
Date April 30, 2014, 7:09 p.m.
Message ID <20140430190940.7884.74701.stgit@fimbulvetr.bsc.es>
Download mbox | patch
Permalink /patch/344299/
State New
Headers show

Comments

Lluís Vilanova - April 30, 2014, 7:09 p.m.
Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
Reviewed-by: Eric Blake <eblake@redhat.com>
---
 tests/qapi-schema/test-qapi.py |    3 ---
 1 file changed, 3 deletions(-)

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)