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/10/22 15:54:33 UTC

cvs commit: jakarta-gump/python/gump nag.py conf.py

ajack       2003/10/22 06:54:33

  Modified:    python/gump nag.py conf.py
  Log:
  Less is more on nags.
  
  Revision  Changes    Path
  1.20      +14 -2     jakarta-gump/python/gump/nag.py
  
  Index: nag.py
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/python/gump/nag.py,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- nag.py	21 Oct 2003 16:15:52 -0000	1.19
  +++ nag.py	22 Oct 2003 13:54:33 -0000	1.20
  @@ -118,9 +118,21 @@
       #
       # Form the content...
       #
  -    content+=getContent(workspace,mctxt,"Module: " + module.name + "\n")
  -    content+=getContent(workspace,pctxt,"Project: " + project.name + "\n"    )
  +    displayedModule=0
  +    displayedProject=0
  +    if not STATUS_SUCCESS == mctxt.status:
  +        displayedModule=1
  +        content+=getContent(workspace,mctxt,"Module: " + module.name + "\n")
           
  +    if not STATUS_SUCCESS == pctxt.status:
  +        displayedProject=1    
  +        content+=getContent(workspace,pctxt,"Project: " + project.name + "\n"    )
  +        
  +    # No clue why this would happen, but fallback safe...
  +    if not displayedModule or not displayedProject:
  +        content+=getContent(workspace,mctxt,"Module: " + module.name + "\n")    
  +        content+=getContent(workspace,pctxt,"Project: " + project.name + "\n"    )
  +                
       #
       # Form the sujhect
       #
  
  
  
  1.33      +4 -4      jakarta-gump/python/gump/conf.py
  
  Index: conf.py
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/python/gump/conf.py,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- conf.py	21 Oct 2003 19:03:08 -0000	1.32
  +++ conf.py	22 Oct 2003 13:54:33 -0000	1.33
  @@ -122,7 +122,7 @@
       
   class switch:
       """Configuration of switches """   
  -    optimize=1 # Optimize (at risk to exact correctness) anywhere one can
  +    optimize=0 # Optimize (at risk to exact correctness) anywhere one can
       optimizenetwork=1 # Do least network traffic 
       failtesting=0 # Not testing.. 
       debugging=0 # Not debugging..