diff python/ppci/errors.py @ 281:4496cae24d7f

Improved logview
author Windel Bouwman
date Sat, 02 Nov 2013 11:11:40 +0100
parents 7416c923a02a
children a747a45dcd78
line wrap: on
line diff
--- a/python/ppci/errors.py	Sat Nov 02 10:03:26 2013 +0100
+++ b/python/ppci/errors.py	Sat Nov 02 11:11:40 2013 +0100
@@ -54,7 +54,7 @@
         self.logger = logging.getLogger('diagnostics')
 
     def addDiag(self, d):
-        self.logger.info(str(d))
+        self.logger.info(str(d.msg))
         self.diags.append(d)
 
     def error(self, msg, loc):