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/11/20 00:58:27 UTC

cvs commit: jakarta-gump/python/gump/model object.py project.py

ajack       2003/11/19 15:58:27

  Modified:    python/gump/model object.py project.py
  Log:
  Another commit, another commit. Gak, maybe it is time to move to vi on a remote Linux box, at least I could test before committing there.
  
  Revision  Changes    Path
  1.6       +1 -1      jakarta-gump/python/gump/model/object.py
  
  Index: object.py
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/python/gump/model/object.py,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- object.py	19 Nov 2003 19:43:53 -0000	1.5
  +++ object.py	19 Nov 2003 23:58:27 -0000	1.6
  @@ -194,7 +194,7 @@
           
           pair=self.getStatePair()
           # Add state, if not already there
  -        if not stateUnset(pair.state) and not pair in states: \
  +        if not pair.stateUnset() and not pair in states: \
               states.append(pair)
           
           return self.getSubbordinateStates(states);
  
  
  
  1.8       +1 -1      jakarta-gump/python/gump/model/project.py
  
  Index: project.py
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/python/gump/model/project.py,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- project.py	19 Nov 2003 23:27:17 -0000	1.7
  +++ project.py	19 Nov 2003 23:58:27 -0000	1.8
  @@ -1026,6 +1026,6 @@
           
           # Add state pair, if not already there
           for pair in summary.statepairs:
  -            if not stateUnset(pair.state) and not pair in self.statepairs: \
  +            if not pair.isUnset() and not pair in self.statepairs: \
                   self.statepairs.append(pair)