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 2004/05/03 19:18:06 UTC

cvs commit: gump/python/gump/core engine.py

ajack       2004/05/03 10:18:06

  Modified:    python/gump/core engine.py
  Log:
  Log when we got updates. [Nice to know if monitoring build].
  
  Revision  Changes    Path
  1.9       +7 -3      gump/python/gump/core/engine.py
  
  Index: engine.py
  ===================================================================
  RCS file: /home/cvs/gump/python/gump/core/engine.py,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- engine.py	30 Apr 2004 20:23:43 -0000	1.8
  +++ engine.py	3 May 2004 17:18:06 -0000	1.9
  @@ -280,11 +280,15 @@
                   else:
                       module.changeState(STATE_SUCCESS)
                       
  -                    # Were the contents of the repository modified?                                        
  -                    module.setUpdated(cmdResult.hasOutput())
  +                    if cmdResult.hasOutput():                    
  +                        # Were the contents of the repository modified?                                        
  +                        module.setUpdated(1)                        
  +                        log.info('Update(s) received via CVS/SVN/Jars on #[' + `moduleNo` + \
  +                                '] of [' + `moduleCount` + ']: ' + module.getName())
  +    
           
               #
  -            # Sync if appropriate
  +            # Sync if appropriate.
               #
               if module.okToPerformWork():
               
  
  
  

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