Re: [test-API][PATCH 2/2] Fix problem of a logger instance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  ack

  Guannan Ren

----- Original Message -----
From: "Wayne Sun" <gsun@xxxxxxxxxx>
To: libvir-list@xxxxxxxxxx
Sent: Friday, January 20, 2012 1:34:14 PM
Subject:  [test-API][PATCH 2/2] Fix problem of a logger instance

---
 utils/Python/format.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/utils/Python/format.py b/utils/Python/format.py
index 5de8eb0..9c119dd 100644
--- a/utils/Python/format.py
+++ b/utils/Python/format.py
@@ -33,7 +33,7 @@ class Format(object):
 
     def print_string(self, msg, env_logger):
         """Only print a simple string"""
-        env_logger(msg)
+        env_logger.info(msg)
         self.write_log('\n%s' %msg)
 
     def print_start(self, msg, env_logger):
-- 
1.7.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]