gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From billbar...@apache.org
Subject svn commit: r381033 - /gump/trunk/python/gump/core/model/builder.py
Date Sun, 26 Feb 2006 00:20:32 GMT
Author: billbarker
Date: Sat Feb 25 16:20:29 2006
New Revision: 381033

URL: http://svn.apache.org/viewcvs?rev=381033&view=rev
Log:
Add support for the debug="true" and verbose="true" attributes on Builders.

Now we match the documentation for Builders that support either (actually, verbose isn't documented,
but it was sooo obviously intended to be supported I added it).

I've tested this, and it works fine.  However, I'll leave a little time for comments before
porting to 'live'.

Modified:
    gump/trunk/python/gump/core/model/builder.py

Modified: gump/trunk/python/gump/core/model/builder.py
URL: http://svn.apache.org/viewcvs/gump/trunk/python/gump/core/model/builder.py?rev=381033&r1=381032&r2=381033&view=diff
==============================================================================
--- gump/trunk/python/gump/core/model/builder.py (original)
+++ gump/trunk/python/gump/core/model/builder.py Sat Feb 25 16:20:29 2006
@@ -198,7 +198,11 @@
                                     self.getDomAttributeValue('basedir')))
         else:
             self.basedir=self.project.getBaseDirectory()
-                
+
+        # Check for debugging properties
+        self.setDebug(self.domAttributeIsTrue('debug'))
+        self.setVerbose(self.domAttributeIsTrue('verbose'))
+        
         self.setComplete(True)
                     
     def dump(self, indent=0, output=sys.stdout):



Mime
View raw message