[Piglit] [PATCH 2/3] framework/log.py: Use grouptools.format in verbose logger.

baker.dylan.c at gmail.com baker.dylan.c at gmail.com
Fri Nov 20 17:10:02 PST 2015


From: Dylan Baker <baker.dylan.c at gmail.com>

This stops the logger from using '@', and instead prints '/'.

cc: Glenn Kennard <glenn.kennard at gmail.com>
Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
 framework/log.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/framework/log.py b/framework/log.py
index c2c3677..e80f48e 100644
--- a/framework/log.py
+++ b/framework/log.py
@@ -40,6 +40,7 @@ except ImportError:
     import json
 
 from framework.core import PIGLIT_CONFIG
+from framework import grouptools
 
 __all__ = ['LogManager']
 
@@ -213,7 +214,7 @@ class VerboseLog(QuietLog):
         status line should.
 
         """
-        super(VerboseLog, self)._print(out)
+        super(VerboseLog, self)._print(grouptools.format(out))
         if newline:
             sys.stdout.write('\n')
             sys.stdout.flush()
-- 
2.6.2



More information about the Piglit mailing list