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/document/xdocs documenter.py
Date Fri, 02 Jul 2004 15:16:13 GMT
ajack       2004/07/02 08:16:13

  Modified:    python/gump/document/xdocs Tag: CleanUp documenter.py
  Log:
  Gak, these two dirs are painful... :(
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.9.2.32  +8 -2      gump/python/gump/document/xdocs/documenter.py
  
  Index: documenter.py
  ===================================================================
  RCS file: /home/cvs/gump/python/gump/document/xdocs/documenter.py,v
  retrieving revision 1.9.2.31
  retrieving revision 1.9.2.32
  diff -u -r1.9.2.31 -r1.9.2.32
  --- documenter.py	2 Jul 2004 14:54:12 -0000	1.9.2.31
  +++ documenter.py	2 Jul 2004 15:16:13 -0000	1.9.2.32
  @@ -210,7 +210,7 @@
           try:
               if os.path.exists(workContents):    
                   # Sync over public pages...
  -                syncDirectories(workContents,logContents) 
  +                copyDirectories(workContents,logContents) 
           except:        
               log.error('--- Failed to sync ['+`objDir`+'] (work->log)', exc_info=1)
               success=False
  @@ -227,7 +227,7 @@
               try:
                   if os.path.exists(workContents):    
                       # Sync over public pages...
  -                    syncDirectories(workContents,logContents) 
  +                    copyDirectories(workContents,logContents) 
               except:        
                   log.error('--- Failed to sync xdocs ['+`objDir`+'] (work->log)', exc_info=1)
                   success=False    
  @@ -240,6 +240,12 @@
           
           xdocWorkDir=self.getXDocWorkDirectory()
           logDirectory=self.getXDocLogDirectory()
  +        
  +        if self.config.isXdocs():  
  +            # Move contents/xdocs from work directory to log
  +            # (Note: Forrest has contents/X and contents/xdocs/X)
  +            xdocWorkDir=os.path.abspath(os.path.join(xdocWorkDir,'xdocs'))
  +            logDirectory=os.path.abspath(os.path.join(logDirectory,'xdocs'))
                                                           
           # Current status
           logSource=os.path.abspath(
  
  
  

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


Mime
View raw message