[Python-checkins] python/dist/src/Lib/logging __init__.py, 1.24.2.4, 1.24.2.5

nnorwitz@users.sourceforge.net nnorwitz at users.sourceforge.net
Fri Oct 21 08:01:01 CEST 2005


Update of /cvsroot/python/python/dist/src/Lib/logging
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5339/Lib/logging

Modified Files:
      Tag: release24-maint
	__init__.py 
Log Message:
Don't use a string exception since it's deprecated

Index: __init__.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/logging/__init__.py,v
retrieving revision 1.24.2.4
retrieving revision 1.24.2.5
diff -u -d -r1.24.2.4 -r1.24.2.5
--- __init__.py	14 Oct 2005 09:37:54 -0000	1.24.2.4
+++ __init__.py	21 Oct 2005 06:00:58 -0000	1.24.2.5
@@ -64,7 +64,7 @@
 def currentframe():
     """Return the frame object for the caller's stack frame."""
     try:
-        raise 'catch me'
+        raise Exception
     except:
         return sys.exc_traceback.tb_frame.f_back
 



More information about the Python-checkins mailing list