[Libvirt-cim] [PATCH] [TEST] #2 Fix HostedResourcePool/03_forward_errs.py to work with sblim cmpi base provider installed

Guo Lian Yun yunguol at cn.ibm.com
Fri Oct 10 01:41:47 UTC 2008


libvirt-cim-bounces at redhat.com wrote on 2008-10-09 23:15:10:

> > +bug = "00007"
> > +expr_values = {
> > +              "invalid_ccname" : {"rc" : pywbem.CIM_ERR_NOT_FOUND, \
> > +                  "desc" : "No such instance (CreationClassName)"},
> > +              "invalid_name"   : {"rc" : pywbem.CIM_ERR_NOT_FOUND, \
> > +                  "desc" : "No such instance (Name)"}
> > +             }
> 
> Can you align the lines so that the colons line up.  Like:

  Sure. I will rewrite it.
> 
> "invalid_ccname" : {"rc" : pywbem.CIM_ERR_NOT_FOUND, \
>            "desc" : "No such instance (CreationClassName)"},
> 
> Also, remove the \ at the end of these lines above.
> 
> > +    ret =  try_assoc(conn, classname, assoc_classname, keys, \
> 
> Remove \ at the end of the line.
> 
> > +    ret = try_assoc(conn, classname, assoc_classname, keys, \
> 
> Same here - remove the \ at the end of the line.
> 
  Would you please tell me when I have to add \ at the end of line? And 
when it doesn't
  need.
 
  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/20081010/876003c4/attachment.htm>


More information about the Libvirt-cim mailing list