gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1293817 - /gump/trunk/python/gump/core/model/output.py
Date Sun, 26 Feb 2012 12:14:22 GMT
Author: bodewig
Date: Sun Feb 26 12:14:22 2012
New Revision: 1293817

URL: http://svn.apache.org/viewvc?rev=1293817&view=rev
Log:
actually read the 'type' attribute of a 'plain' output

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

Modified: gump/trunk/python/gump/core/model/output.py
URL: http://svn.apache.org/viewvc/gump/trunk/python/gump/core/model/output.py?rev=1293817&r1=1293816&r2=1293817&view=diff
==============================================================================
--- gump/trunk/python/gump/core/model/output.py (original)
+++ gump/trunk/python/gump/core/model/output.py Sun Feb 26 12:14:22 2012
@@ -74,3 +74,7 @@ class Output(NamedModelObject):
         return self.type in [OUTPUT_BOOTCLASSPATH_JAR, \
                                  OUTPUT_JAR, \
                                  OUTPUT_TESTS_JAR]
+
+    def complete(self): 
+        """ set type from attribute if present """
+        self.setType(self.getDomAttributeValue('type'))



Mime
View raw message