[Python-checkins] python/dist/src/Lib/logging __init__.py, 1.32, 1.33

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


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

Modified Files:
	__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.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- __init__.py	14 Oct 2005 09:36:35 -0000	1.32
+++ __init__.py	21 Oct 2005 06:00:24 -0000	1.33
@@ -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