[Erp5-report] r43202 nicolas.dumazet - /erp5/trunk/products/ERP5Type/dynamic/

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Feb 9 05:13:11 CET 2011


Author: nicolas.dumazet
Date: Wed Feb  9 05:13:11 2011
New Revision: 43202

URL: http://svn.erp5.org?rev=43202&view=rev
Log:
refine error message

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

Modified: erp5/trunk/products/ERP5Type/dynamic/portal_type_class.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/dynamic/portal_type_class.py?rev=43202&r1=43201&r2=43202&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/dynamic/portal_type_class.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/dynamic/portal_type_class.py [utf8] Wed Feb  9 05:13:11 2011
@@ -95,9 +95,9 @@ def _createAccessorHolderList(site,
                 getattr(property_sheet_tool,
                         property_sheet_name))
 
-      except AttributeError:
+      except:
         LOG("ERP5Type.dynamic", ERROR,
-            "Ignoring missing Property Sheet " + property_sheet_name)
+            "Ignoring missing or Invalid Property Sheet " + property_sheet_name)
 
         raise
 



More information about the Erp5-report mailing list