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/model owner.py
Date Tue, 18 Nov 2003 19:28:05 GMT
ajack       2003/11/18 11:28:05

  Modified:    python/gump/model owner.py
  Log:
  Only output via logging, not 'print'
  
  Revision  Changes    Path
  1.2       +2 -2      jakarta-gump/python/gump/model/owner.py
  
  Index: owner.py
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/python/gump/model/owner.py,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- owner.py	17 Nov 2003 22:10:50 -0000	1.1
  +++ owner.py	18 Nov 2003 19:28:05 -0000	1.2
  @@ -82,10 +82,10 @@
       def displayOwnership(self,visited=None):
           if not visited: visited=[]
           if self in visited: 
  -            print "Circular path @ " + `self`
  +            log.error('Circular path @ ' + `self`)
               return
           visited.append(self)
  -        print getIndent(len(visited))+str(self)
  +        log.info(getIndent(len(visited))+str(self))
           if self.hasOwner():
               self.getOwner().displayOwnership(visited)
           return         
  
  
  

Mime
View raw message