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/11/18 02:15:26 UTC

cvs commit: jakarta-gump/python/gump/document forrest.py

ajack       2003/11/17 17:15:26

  Modified:    python/gump/model module.py workspace.py
               python/gump/document forrest.py
  Log:
  More fixes as corners of the code are only explored at runtime...
  
  Revision  Changes    Path
  1.2       +0 -5      jakarta-gump/python/gump/model/module.py
  
  Index: module.py
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/python/gump/model/module.py,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- module.py	17 Nov 2003 22:10:49 -0000	1.1
  +++ module.py	18 Nov 2003 01:15:26 -0000	1.2
  @@ -160,11 +160,6 @@
                   self.repository=repo
                   repo.addModule(self)
                   self.cvs=ModuleCVS(self.xml.cvs,repo)
  -      
  -                    # Populate defaults...
  -                if self.xml.tag: self.cvs.tag=self.xml.tag    
  -                if not self.xml.cvs.module: self.cvs.module=self.name
  -
               else:
                   log.error(':TODO: No such repository in w/s ['+ repoName +'] on [' \
                           + self.getName() + ']')
  
  
  
  1.2       +1 -1      jakarta-gump/python/gump/model/workspace.py
  
  Index: workspace.py
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/python/gump/model/workspace.py,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- workspace.py	17 Nov 2003 22:10:49 -0000	1.1
  +++ workspace.py	18 Nov 2003 01:15:26 -0000	1.2
  @@ -286,7 +286,7 @@
           
           
           # Complete the projects   
  -        haveUnnamedModule=1
  +        haveUnnamedModule=0
           for project in self.getProjects():
               # Projects needs a module (even if pseudo)
               if not project.inModule():
  
  
  
  1.3       +2 -2      jakarta-gump/python/gump/document/forrest.py
  
  Index: forrest.py
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/python/gump/document/forrest.py,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- forrest.py	18 Nov 2003 00:29:50 -0000	1.2
  +++ forrest.py	18 Nov 2003 01:15:26 -0000	1.3
  @@ -355,7 +355,7 @@
           self.documentSummary(document, workspace.getProjectSummary())
           
           projectsSection=document.createSection('Projects (in build order)')
  -        projectsTable=projectsSection.createTable(['Name','Project State','Duration in state','Elapsed'])
  +        projectsTable=projectsSection.createTable(['Name','Project State','Duration\nin state','Elapsed'])
           pcount=0
           for project in sortedProjectList:
               if not gumpSet.inSequence(project): continue       
  @@ -440,7 +440,7 @@
           self.documentSummary(document, workspace.getProjectSummary())
           
           modulesSection=document.createSection('Modules with TODOs')        
  -        modulesTable=modulesSection.createTable(['Name','Affected','Duration in state','Module State',	\
  +        modulesTable=modulesSection.createTable(['Name','Affected','Duration\nin state','Module State',	\
                                       'Project State(s)','Elapsed'])
           
           mcount=0