gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject cvs commit: jakarta-gump/python/gump/model property.py
Date Tue, 18 Nov 2003 19:37:38 GMT
ajack       2003/11/18 11:37:38

  Modified:    python/gump/model property.py
  Log:
  Migrating from XML to objects, broken line by broken line...
  
  Revision  Changes    Path
  1.4       +3 -2      jakarta-gump/python/gump/model/property.py
  
  Index: property.py
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/python/gump/model/property.py,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- property.py	18 Nov 2003 19:02:25 -0000	1.3
  +++ property.py	18 Nov 2003 19:37:38 -0000	1.4
  @@ -101,7 +101,7 @@
                   
                   if self.xml.id:
                       for jar in targetProject.getJars():
  -                        if jar.id==self.xml.id:
  +                        if jar.getId()==self.xml.id:
                               if self.xml.reference=='jarpath':
                                   self.setValue(jar.getPath())
                               else:
  @@ -109,7 +109,8 @@
                               break
                       else:
                           self.value=("jar with id %s was not found in project %s " +
  -                                  "referenced by %s") % (self.xml.id, targetProject.getName(),
project.getName())
  +                                  "referenced by %s") % \
  +                            (self.xml.id, targetProject.getName(), project.getName())
                           log.error(self.value)
                   elif targetProject.getJarCount()==1:
                       self.value=targetProject.getJars()[0].getPath()
  
  
  

Mime
View raw message