[Erp5-report] r41772 jm - /erp5/trunk/products/ERP5Type/dynamic/lazy_class.py

nobody at svn.erp5.org nobody at svn.erp5.org
Sun Dec 26 18:55:30 CET 2010


Author: jm
Date: Sun Dec 26 18:55:30 2010
New Revision: 41772

URL: http://svn.erp5.org?rev=41772&view=rev
Log:
Remove useless 'print_exc'

It does not show more information than following LOG.

Modified:
    erp5/trunk/products/ERP5Type/dynamic/lazy_class.py

Modified: erp5/trunk/products/ERP5Type/dynamic/lazy_class.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/dynamic/lazy_class.py?rev=41772&r1=41771&r2=41772&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/dynamic/lazy_class.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/dynamic/lazy_class.py [utf8] Sun Dec 26 18:55:30 2010
@@ -205,7 +205,6 @@ class PortalTypeMetaClass(GhostBaseMetaC
       try:
         class_definition = generatePortalTypeClass(portal_type)
       except AttributeError:
-        import traceback; traceback.print_exc()
         LOG("ERP5Type.Dynamic", WARNING,
             "Could not access Portal Type Object for type %r"
             % portal_type, error=sys.exc_info())



More information about the Erp5-report mailing list