Return-Path: Delivered-To: apmail-gump-commits-archive@www.apache.org Received: (qmail 36156 invoked from network); 3 Dec 2004 22:49:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Dec 2004 22:49:40 -0000 Received: (qmail 21245 invoked by uid 500); 3 Dec 2004 22:49:40 -0000 Mailing-List: contact commits-help@gump.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@gump.apache.org Delivered-To: mailing list commits@gump.apache.org Received: (qmail 21228 invoked by uid 99); 3 Dec 2004 22:49:40 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 03 Dec 2004 14:49:39 -0800 Received: (qmail 36137 invoked by uid 65534); 3 Dec 2004 22:49:38 -0000 Date: 3 Dec 2004 22:49:38 -0000 Message-ID: <20041203224938.36131.qmail@minotaur.apache.org> From: ajack@apache.org To: commits@gump.apache.org Subject: svn commit: r109732 - /gump/trunk/python/gump/core/model/project.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Author: ajack Date: Fri Dec 3 14:49:37 2004 New Revision: 109732 URL: http://svn.apache.org/viewcvs?view=rev&rev=109732 Log: domChild is a Pure XML DOM Element, not a Gump Model Object. Since the latter is bound to a DOM Element we have helper methods that allow access to DOM sub-elements, but when we are using pure DOM object we need to use the shared functions. Modified: gump/trunk/python/gump/core/model/project.py Modified: gump/trunk/python/gump/core/model/project.py Url: http://svn.apache.org/viewcvs/gump/trunk/python/gump/core/model/project.py?view=diff&rev=109732&p1=gump/trunk/python/gump/core/model/project.py&r1=109731&p2=gump/trunk/python/gump/core/model/project.py&r2=109732 ============================================================================== --- gump/trunk/python/gump/core/model/project.py (original) +++ gump/trunk/python/gump/core/model/project.py Fri Dec 3 14:49:37 2004 @@ -636,7 +636,7 @@ # turn the children of domchild into jvmargs def addJVMArgs(self,domChild): - for jvmarg in domChild.getDomChildIterator('jvmarg'): + for jvmarg in getDomChildIterator(domChild,'jvmarg'): if hasDomAttribute(jvmarg, 'value'): self.jvmargs.addParameter(getDomAttributeValue(jvmarg, 'value')) else: