[Libvirt-cim] [PATCH] [TEST] Fix VSSD-02_bootldr.py

Guo Lian Yun yunguol at cn.ibm.com
Thu Sep 11 01:43:05 UTC 2008


libvirt-cim-bounces at redhat.com wrote on 2008-09-11 04:43:50:

> yunguol at cn.ibm.com wrote:
> > # HG changeset patch
> > # User Guolian Yun <yunguol at cn.ibm.com>
> > # Date 1221025502 25200
> > # Node ID d3c88d929119696cf168b883498392e647444660
> > # Parent  aaa44481faee136c0ced9d400860d1eb1002df31
> > [TEST] Fix VSSD-02_bootldr.py
> > 
> > Signed-off-by: Guolian Yun <yunguol at cn.ibm.com>
> > 
> > diff -r aaa44481faee -r d3c88d929119 suites/libvirt-
> cim/cimtest/VSSD/02_bootldr.py
> > --- a/suites/libvirt-cim/cimtest/VSSD/02_bootldr.py   Mon Sep 08 
> 23:44:21 2008 -0700
> > +++ b/suites/libvirt-cim/cimtest/VSSD/02_bootldr.py   Tue Sep 09 
> 22:45:02 2008 -0700
> > @@ -28,10 +28,10 @@
> > 
> 
> Can you also change the BaseException to Exception?   When this test 
> encounters an exception, python returns the following error:
> 
> ERROR   - NameError : global name 'BaseException' is not defined
> Traceback (most recent call last):
>    File "./lib/XenKvmLib/const.py", line 115, in do_try
>    File "02_bootldr.py", line 73, in main
>      except  BaseException, detail :
> NameError: global name 'BaseException' is not defined
> 
> This should be changed to Exception.

  Done!
> 
> Thanks!
> -- 
> Kaitlin Rupert
> IBM Linux Technology Center
> kaitlin at linux.vnet.ibm.com
> 
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20080911/1c7183f0/attachment.htm>


More information about the Libvirt-cim mailing list