| 
     
      
      
      From: <ba...@us...> - 2007-05-16 20:26:41
      
     
   | 
Revision: 462
          http://svn.sourceforge.net/omc/?rev=462&view=rev
Author:   bartw
Date:     2007-05-16 13:26:31 -0700 (Wed, 16 May 2007)
Log Message:
-----------
changed formatting of errors.  makes stack traces from python providers look pretty
Modified Paths:
--------------
    tools/trunk/yawn/yawn.py
Modified: tools/trunk/yawn/yawn.py
===================================================================
--- tools/trunk/yawn/yawn.py	2007-05-15 16:13:24 UTC (rev 461)
+++ tools/trunk/yawn/yawn.py	2007-05-16 20:26:31 UTC (rev 462)
@@ -1245,7 +1245,8 @@
     except pywbem.CIMError, arg:
         ht = _printHead('Error')
         details = _code2string(arg[0])
-        ht+= '<p><i>'+details[0]+': '+details[1]+': '+cgi.escape(arg[1])+'</i>'
+        ht+= '<p><i>'+details[0]+': ' + details[1]+'</i>'
+        ht+= '<pre>'+cgi.escape(arg[1])+'</pre>'
         ht+= '<hr>'
         if req.conn.debug:
             if req.conn.last_request is not None:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
 |