Return-Path: X-Original-To: apmail-gump-commits-archive@www.apache.org Delivered-To: apmail-gump-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D77E09BC9 for ; Mon, 16 Apr 2012 01:56:31 +0000 (UTC) Received: (qmail 42039 invoked by uid 500); 16 Apr 2012 01:56:31 -0000 Mailing-List: contact commits-help@gump.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@gump.apache.org Delivered-To: mailing list commits@gump.apache.org Received: (qmail 42032 invoked by uid 99); 16 Apr 2012 01:56:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2012 01:56:31 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2012 01:56:29 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 6340D238896F; Mon, 16 Apr 2012 01:56:08 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1326459 - /gump/trunk/python/gump/core/model/property.py Date: Mon, 16 Apr 2012 01:56:08 -0000 To: commits@gump.apache.org From: billbarker@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120416015608.6340D238896F@eris.apache.org> 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