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 forrest.py
Date Mon, 12 Apr 2004 21:12:00 GMT
ajack       2004/04/12 14:12:00

  Modified:    python/gump/document forrest.py
  Log:
  Leave xdocs around, if forrest fails, for manual debugging.
  
  Revision  Changes    Path
  1.143     +4 -1      gump/python/gump/document/forrest.py
  
  Index: forrest.py
  ===================================================================
  RCS file: /home/cvs/gump/python/gump/document/forrest.py,v
  retrieving revision 1.142
  retrieving revision 1.143
  diff -u -r1.142 -r1.143
  --- forrest.py	12 Apr 2004 19:12:34 -0000	1.142
  +++ forrest.py	12 Apr 2004 21:12:00 -0000	1.143
  @@ -200,7 +200,10 @@
                   # 
                   # Clean up
                   wipeDirectoryTree(stagingDirectory)
  -                wipeDirectoryTree(forrestWorkDir)
  +                
  +                # Clean only if successful.
  +                if  (forrestResult.state==CMD_STATE_SUCCESS):
  +                    wipeDirectoryTree(forrestWorkDir)
               except:        
                   log.error('--- Failed to staging->log sync and/or clean-up', exc_info=1)
                   success=0
  
  
  

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


Mime
View raw message