[PATCH] [TEST] Fixing 01_forward.py of EC to use Exception instead of BaseException

# HG changeset patch # User Deepti B. Kalakeri <deeptik@linux.vnet.ibm.com> # Date 1210056458 25200 # Node ID e19dd89679ab79ad10fee3632885816fd231b84d # Parent 4810d6e5f8845402b1c31de7b6a1b66fd0a1bfcf [TEST] Fixing 01_forward.py of EC to use Exception instead of BaseException. Signed-off-by: Deepti B. Kalakeri <deeptik@linux.vnet.ibm.com> diff -r 4810d6e5f884 -r e19dd89679ab suites/libvirt-cim/cimtest/ElementConforms/01_forward.py --- a/suites/libvirt-cim/cimtest/ElementConforms/01_forward.py Fri May 02 17:09:19 2008 +0530 +++ b/suites/libvirt-cim/cimtest/ElementConforms/01_forward.py Mon May 05 23:47:38 2008 -0700 @@ -145,7 +145,7 @@ def main(): exp_count, count) - except BaseException, detail: + except Exception, detail: logger.error(CIM_ERROR_ASSOCIATORS, 'ElementConformsToProfile') logger.error("Exception: %s" % detail) status = FAIL
participants (1)
-
Deepti B. Kalakeri