Update of /cvsroot/happydoc/HappyDoc/happydoclib
In directory usw-pr-cvs1:/tmp/cvs-serv5262/happydoclib
Modified Files:
trace.py
Log Message:
Changed outof() so that it returns the returnValue. This lets us
ensure that the outof call is the last call in a function by placing
it right in the return statement.
Index: trace.py
===================================================================
RCS file: /cvsroot/happydoc/HappyDoc/happydoclib/trace.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** trace.py 7 Nov 2001 00:00:07 -0000 1.3
--- trace.py 10 Feb 2002 13:02:25 -0000 1.4
***************
*** 199,203 ****
self.output.write(self.getIndent())
self.output.write('} %s\n' % str(returnValue))
! return
--- 199,203 ----
self.output.write(self.getIndent())
self.output.write('} %s\n' % str(returnValue))
! return returnValue
|