gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject cvs commit: gump/python/gump engine.py
Date Tue, 09 Mar 2004 00:20:51 GMT
ajack       2004/03/08 16:20:51

  Modified:    python/gump engine.py
  Log:
  Display package listings even if no license (indent problem)
  
  Revision  Changes    Path
  1.77      +15 -21    gump/python/gump/engine.py
  
  Index: engine.py
  ===================================================================
  RCS file: /home/cvs/gump/python/gump/engine.py,v
  retrieving revision 1.76
  retrieving revision 1.77
  diff -u -r1.76 -r1.77
  --- engine.py	8 Mar 2004 22:28:08 -0000	1.76
  +++ engine.py	9 Mar 2004 00:20:51 -0000	1.77
  @@ -766,25 +766,20 @@
                   # directories
                   outputs.append(licensePath)
                                                               
  -                #
  -                # List all directories that should've contained
  -                # outputs, to see what is there.
  -                #
  -                dirs=[]
  -                dircnt=0
  -                listed=0
  -                for output in outputs:
  -                    dir=os.path.dirname(output)
  -                    if not dir in dirs:                        
  -                        dircnt += 1            
  -                        if os.path.exists(dir):
  -                            listDirectoryToFileHolder(project,dir,\
  -                                FILE_TYPE_PACKAGE,
  -                                'list_'+project.getName()+'_dir'+str(dircnt)+'_'+os.path.basename(dir))
  -                            dirs.append(dir)
  -                            listed += 1
  -                        else:
  -                            project.addError("No such directory (where package output is
expected) : " + dir)                                
  +            #
  +            # List all directories that should've contained
  +            # outputs, to see what is there.
  +            #
  +            dirs=[]
  +            dircnt=0
  +            for output in outputs:
  +                dir=os.path.dirname(output)
  +                if not dir in dirs:                        
  +                    dircnt += 1         
  +                    listDirectoryToFileHolder(project,dir,\
  +                        FILE_TYPE_PACKAGE,
  +                        'list_'+project.getName()+'_dir'+str(dircnt)+'_'+os.path.basename(dir))
  +                    dirs.append(dir)                               
                   
       """
       
  @@ -826,8 +821,7 @@
               #
               # Load stats (and stash onto projects)
               #    
  -            db.loadStatistics(workspace)
  -            
  +            db.loadStatistics(workspace)            
                   
       """
       
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Mime
View raw message