You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gump.apache.org by le...@apache.org on 2005/07/05 14:00:55 UTC

svn commit: r209263 - /gump/branches/Gump3/pygump/python/gump/config.py

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`)