ajack       2003/10/16 10:37:39

  Modified:    python/gump build.py
  Log:
  Syntax issue.
  
  Revision  Changes    Path
  1.26      +11 -11    jakarta-gump/python/gump/build.py
  
  Index: build.py
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/python/gump/build.py,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- build.py  16 Oct 2003 17:25:49 -0000      1.25
  +++ build.py  16 Oct 2003 17:37:39 -0000      1.26
  @@ -233,14 +233,14 @@
                           #
                           dirs=[]
                           for i in range(0,len(project.jar)):
  -                        jar=os.path.normpath(project.jar[i].path)
  -                        if jar:
  -                            dir=os.path.dirname(jar)
  -                            if not dir in dirs and os.path.exists(dir):
  -                                
listDirectoryAsWork(pctxt,dir,'list_'+project.name+'_'+os.path.basename(dir))
  -                                dirs.append(dir)
  -                            else
  -                                pctxt.addWarning("No such directory (where output 
is expect) : " + dir)
  +                            jar=os.path.normpath(project.jar[i].path)
  +                            if jar:
  +                                dir=os.path.dirname(jar)
  +                                if not dir in dirs and os.path.exists(dir):
  +                                    
listDirectoryAsWork(pctxt,dir,'list_'+project.name+'_'+os.path.basename(dir))
  +                                    dirs.append(dir)
  +                                else:
  +                                    pctxt.addWarning("No such directory (where 
output is expect) : " + dir)
                   else:
                       pctxt.status=STATUS_SUCCESS  
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to