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 logic.py
Date Tue, 30 Sep 2003 13:46:05 GMT
ajack       2003/09/30 06:46:05

  Modified:    python/gump logic.py
  Log:
  Don't die on bad <jar entries.
  
  Revision  Changes    Path
  1.11      +4 -2      jakarta-gump/python/gump/logic.py
  
  Index: logic.py
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/python/gump/logic.py,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- logic.py	29 Sep 2003 23:54:50 -0000	1.10
  +++ logic.py	30 Sep 2003 13:46:05 -0000	1.11
  @@ -280,8 +280,10 @@
   def getOutputsList(project):
       outputs=[]
       for i in range(0,len(project.jar)):
  -        jar=os.path.normpath(project.jar[i].path)
  -        outputs.append(jar)        
  +        # :TODO: Hack to avoid a crash
  +        if project.jar[i].path:
  +            jar=os.path.normpath(project.jar[i].path)
  +            outputs.append(jar)        
       return outputs
                      
   def hasOutputs(project):
  
  
  

Mime
View raw message