You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gump.apache.org by bi...@apache.org on 2012/04/16 04:19:39 UTC

svn commit: r1326462 - /gump/trunk/python/gump/core/model/property.py

Author: billbarker
Date: Mon Apr 16 02:19:39 2012
New Revision: 1326462

URL: http://svn.apache.org/viewvc?rev=1326462&view=rev
Log:
fix copy/paste error

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=1326462&r1=1326461&r2=1326462&view=diff
==============================================================================
--- gump/trunk/python/gump/core/model/property.py (original)
+++ gump/trunk/python/gump/core/model/property.py Mon Apr 16 02:19:39 2012
@@ -22,6 +22,7 @@
 import os
 import sys
 
+from gump import log
 from gump.core.model.object import NamedModelObject
 from gump.util import getIndent
 from gump.util.domutils import getDomChildIterator, getDomAttributeValue, \
@@ -189,9 +190,9 @@ class Property(NamedModelObject):
         set value to path or name of output depending on reference attribute
         """
         if reference == 'jarpath' or reference == 'outputpath':
-            self.setValue(self.output.getPath())
+            self.setValue(output.getPath())
         else:
-            self.setValue(self.output.getName())
+            self.setValue(output.getName())
         self.output = output
         self.reference = reference