[CMF-checkins] CVS: CMF - MembershipTool.py:1.8
tseaver@digicool.com
tseaver@digicool.com
Sun, 3 Jun 2001 22:35:28 -0400 (EDT)
Update of /cvs-repository/CMF/CMFCore
In directory korak.digicool.com:/tmp/cvs-serv2291/CMFCore
Modified Files:
MembershipTool.py
Log Message:
- Remove another 'traceback.print_exc()'.
--- Updated File MembershipTool.py in package CMF --
--- MembershipTool.py 2001/05/17 18:56:37 1.7
+++ MembershipTool.py 2001/06/04 02:35:28 1.8
@@ -193,9 +193,13 @@
return portal_user
except:
- # DEBUGGING CODE
- import traceback
- traceback.print_exc()
+ from zLOG import LOG, ERROR
+ import sys
+ type,value,tb = sys.exc_info()
+ LOG('CMFCore.MembershipTool',
+ ERROR,
+ 'Error during wrapUser:',
+ "\nType:%s\nValue:%s\n" % (type,value))
pass
# Failed.
return u