CVS: anygui/lib/anygui Utils.py,1.18,1.19

Robin Becker <[email protected]> Mon, 04 Nov 2002 11:46:43 -0800
Newsgroups gmane.comp.python.anygui.cvs
Message-ID <[email protected]>
Update of /cvsroot/anygui/anygui/lib/anygui
In directory usw-pr-cvs1:/tmp/cvs-serv9071/lib/anygui

Modified Files:
	Utils.py 
Log Message:
Add tracback to log function

Index: Utils.py
===================================================================
RCS file: /cvsroot/anygui/anygui/lib/anygui/Utils.py,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** Utils.py	11 Sep 2002 15:21:02 -0000	1.18
--- Utils.py	4 Nov 2002 19:46:40 -0000	1.19
***************
*** 191,195 ****
  def logFlush():
      _logger.flush()
!     
  _jython = sys.platform[:4] == 'java'
  
--- 191,199 ----
  def logFlush():
      _logger.flush()
! 
! def logTraceback(n):
!     import traceback
!     traceback.print_exc(n,_logger._f)
! 
  _jython = sys.platform[:4] == 'java'
  



-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com