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/09 06:18:20 UTC

cvs commit: jakarta-gump/python/gump context.py

ajack       2003/10/08 21:18:20

  Modified:    python/gump context.py
  Log:
  Unbreak aggregateStates
  
  Revision  Changes    Path
  1.18      +2 -1      jakarta-gump/python/gump/context.py
  
  Index: context.py
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/python/gump/context.py,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- context.py	9 Oct 2003 00:22:16 -0000	1.17
  +++ context.py	9 Oct 2003 04:18:20 -0000	1.18
  @@ -350,7 +350,7 @@
           if not stateUnset(pair.status) and not pair in states: \
               states.append(pair)
           
  -        return states + self.getSubbordinateStates();
  +        return self.getSubbordinateStates(states);
           
       def getSubbordinateStates(self, states=None):
           if not states: states=[]
  @@ -358,6 +358,7 @@
           # Subbordinates
           for ctxt in self:
               ctxt.aggregateStates(states)
  +            
           return states;
           
       def getSummary(self,summary=None):