gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject cvs commit: jakarta-gump/python/gump nag.py
Date Thu, 16 Oct 2003 18:42:28 GMT
ajack       2003/10/16 11:42:28

  Modified:    python/gump nag.py
  Log:
  Nag on failed project, irrespective of module state
  [We need to,eventually, move nag onto module also...]
  
  Revision  Changes    Path
  1.15      +18 -19    jakarta-gump/python/gump/nag.py
  
  Index: nag.py
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/python/gump/nag.py,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- nag.py	16 Oct 2003 18:40:38 -0000	1.14
  +++ nag.py	16 Oct 2003 18:42:28 -0000	1.15
  @@ -80,25 +80,24 @@
           nagWorkspace(workspace,context)
       
       for mctxt in context:
  -        if not STATUS_SUCCESS == mctxt.status:
  -            mname=mctxt.name
  -            if Module.list.has_key(mname):
  -                # :TODO: Something doesn't work w/ this.
  -                # if moduleFilterList and not mname in moduleFilterList: continue    
  -                module=Module.list[mname]
  -        for pctxt in mctxt:
  -            pname=pctxt.name
  -            if STATUS_FAILED == pctxt.status :
  -                if Project.list.has_key(pname):
  -                    # :TODO: Something doesn't work w/ this.
  -                    # if projectFilterList and not pctxt.project in projectFilterList:
continue
  -                    project=Project.list[pname]
  -                    try:
  -                        nagProject(workspace,context,module,mctxt,project,pctxt)
  -                    except:
  -                        log.error("Failed to send nag e-mail for project " + pname)
  -                else:
  -                    log.error("Unknown project " + pname)
  +        mname=mctxt.name
  +        if Module.list.has_key(mname):
  +            # :TODO: Something doesn't work w/ this.
  +            # if moduleFilterList and not mname in moduleFilterList: continue    
  +            module=Module.list[mname]
  +            for pctxt in mctxt:
  +                pname=pctxt.name
  +                if STATUS_FAILED == pctxt.status :
  +                    if Project.list.has_key(pname):
  +                        # :TODO: Something doesn't work w/ this.
  +                        # if projectFilterList and not pctxt.project in projectFilterList:
continue
  +                        project=Project.list[pname]
  +                        try:
  +                            nagProject(workspace,context,module,mctxt,project,pctxt)
  +                        except:
  +                            log.error("Failed to send nag e-mail for project " + pname)
  +                    else:
  +                        log.error("Unknown project " + pname)
                   
                   
   def nagWorkspace(workspace,context):
  
  
  

Mime
View raw message