gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leosim...@apache.org
Subject svn commit: r209263 - /gump/branches/Gump3/pygump/python/gump/config.py
Date Tue, 05 Jul 2005 12:00:55 GMT
Author: leosimons
Date: Tue Jul  5 05:00:55 2005
New Revision: 209263

URL: http://svn.apache.org/viewcvs?rev=209263&view=rev
Log:
Add introspection plugin when debugging.

 * pygump/python/gump/config.py: enabling the new introspection plugin in debug mode.

Modified:
    gump/branches/Gump3/pygump/python/gump/config.py

Modified: gump/branches/Gump3/pygump/python/gump/config.py
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/pygump/python/gump/config.py?rev=209263&r1=209262&r2=209263&view=diff
==============================================================================
--- gump/branches/Gump3/pygump/python/gump/config.py (original)
+++ gump/branches/Gump3/pygump/python/gump/config.py Tue Jul  5 05:00:55 2005
@@ -172,8 +172,12 @@
     post_process_plugins.append(OutputLogReporterPlugin(reportlog))
 
     from gump.plugins.logreporter import ResultLogReporterPlugin
-    post_process_plugins.append(ResultLogReporterPlugin(reportlog))        
-     
+    post_process_plugins.append(ResultLogReporterPlugin(reportlog))
+    
+    if config.debug:
+        from gump.plugins.introspection import IntrospectionPlugin
+        post_process_plugins.append(IntrospectionPlugin(reportlog))
+    
     # Give us an insight to what we have cooking...
     for plugin in pre_process_plugins: log.debug("Preprocessor : %s " % `plugin`)
     for plugin in plugins: log.debug("Processor    : %s " % `plugin`)



Mime
View raw message