gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From billbar...@apache.org
Subject svn commit: r1326459 - /gump/trunk/python/gump/core/model/property.py
Date Mon, 16 Apr 2012 01:56:08 GMT
Author: billbarker
Date: Mon Apr 16 01:56:07 2012
New Revision: 1326459

URL: http://svn.apache.org/viewvc?rev=1326459&view=rev
Log:
functionally revert previous since it doesn't work

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

Modified: gump/trunk/python/gump/core/model/property.py
URL: http://svn.apache.org/viewvc/gump/trunk/python/gump/core/model/property.py?rev=1326459&r1=1326458&r2=1326459&view=diff
==============================================================================
--- gump/trunk/python/gump/core/model/property.py (original)
+++ gump/trunk/python/gump/core/model/property.py Mon Apr 16 01:56:07 2012
@@ -52,11 +52,6 @@ class Property(NamedModelObject):
         """
         Get a value
         """
-        if self.output :
-            if self.reference == 'jarpath' or self.reference == 'outputpath':
-                self.setValue(self.output.getPath())
-            else:
-                self.setValue(self.output.getName())
         return self.value
 
     # provide default elements when not defined in xml
@@ -193,6 +188,10 @@ class Property(NamedModelObject):
         """
         set value to path or name of output depending on reference attribute
         """
+        if self.reference == 'jarpath' or self.reference == 'outputpath':
+            self.setValue(self.output.getPath())
+        else:
+            self.setValue(self.output.getName())
         self.output = output
         self.reference = reference
 



Mime
View raw message