[Libvirt-cim] [PATCH] [TEST] Use commas when passing parameters to logger.info() in Globals.py

Deepti B Kalakeri deeptik at linux.vnet.ibm.com
Thu Feb 12 08:16:24 UTC 2009


+1

yunguol at cn.ibm.com wrote:
> # HG changeset patch
> # User Guolian Yun <yunguol at cn.ibm.com>
> # Date 1234417307 28800
> # Node ID 9234ee3665774985ff9292f1a64b0ac69bd9e3f4
> # Parent  0daae14ce5848711408fdd465fd2c03f20314466
> [TEST] Use commas when passing parameters to logger.info() in Globals.py
>
> Tested for KVM/LXC with current sources
>
> Signed-off-by: Guolian Yun<yunguol at cn.ibm.com>
>
> diff -r 0daae14ce584 -r 9234ee366577 lib/CimTest/Globals.py
> --- a/lib/CimTest/Globals.py	Wed Feb 11 21:00:52 2009 -0200
> +++ b/lib/CimTest/Globals.py	Wed Feb 11 21:41:47 2009 -0800
> @@ -98,6 +98,6 @@
>      logger.info("====%s Log====", CIM_TC)
>
>  def log_bug(bug_num):
> -    logger.info("Known Bug:%s" % bug_num)
> +    logger.info("Known Bug:%s", bug_num)
>      print "Bug:<%s>" % bug_num
>
>
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cim
>   

-- 
Thanks and Regards,
Deepti B. Kalakeri
IBM Linux Technology Center
deeptik at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list