gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From billbar...@apache.org
Subject svn commit: r1326462 - /gump/trunk/python/gump/core/model/property.py
Date Mon, 16 Apr 2012 02:19:39 GMT
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
 



Mime
View raw message