You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by aj...@apache.org on 2003/12/14 19:03:19 UTC

cvs commit: jakarta-gump/python/gump/model property.py

ajack       2003/12/14 10:03:19

  Modified:    python/gump/model property.py
  Log:
  2nd try at property fix.
  
  Revision  Changes    Path
  1.9       +6 -6      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.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- property.py	14 Dec 2003 17:57:39 -0000	1.8
  +++ property.py	14 Dec 2003 18:03:19 -0000	1.9
  @@ -114,19 +114,19 @@
                               break
                       else:
                           responsibleParty.addError(	\
  -                            "jar with id %s was not found in project %s ") % \
  -                            (self.xml.id, targetProject.getName())
  +                            ("jar with id %s was not found in project %s ") % \
  +                            (self.xml.id, targetProject.getName()))
                   elif targetProject.getJarCount()==1:
                       self.setValue(targetProject.getJars()[0].getPath())
                   elif  targetProject.getJarCount()>1:
                       responsibleParty.addError(	\
  -                        "Multiple jars defined by project %s; " + \
  +                        ("Multiple jars defined by project %s; " + \
                           "an id attribute is required to select the one you want") % \
  -                          (targetProject.getName())
  +                          (targetProject.getName()))
                   else:
                       responsibleParty.addError(	\
  -                        'Project %s defines no jars as output') % \
  -                        (targetProject.getName())      
  +                        ('Project %s defines no jars as output') % \
  +                        (targetProject.getName()))      
                                   
           elif self.xml.path:
               #