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

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



  ack

  Guannan Ren

----- Original Message -----
From: "Wayne Sun" <gsun redhat com>
To: libvir-list redhat com
Sent: Friday, January 20, 2012 1:34:14 PM
Subject: [libvirt] [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 redhat com
https://www.redhat.com/mailman/listinfo/libvir-list


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