[Erp5-report] r20297 - /erp5/trunk/products/ERP5/Document/TransformationRule.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Apr 3 18:29:01 CEST 2008
Author: kazuhiko
Date: Thu Apr 3 18:29:01 2008
New Revision: 20297
URL: http://svn.erp5.org?rev=20297&view=rev
Log:
allow_class TransformationRuleError.
Modified:
erp5/trunk/products/ERP5/Document/TransformationRule.py
Modified: erp5/trunk/products/ERP5/Document/TransformationRule.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/TransformationRule.py?rev=20297&r1=20296&r2=20297&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/TransformationRule.py (original)
+++ erp5/trunk/products/ERP5/Document/TransformationRule.py Thu Apr 3 18:29:01 2008
@@ -30,6 +30,7 @@
from AccessControl import ClassSecurityInfo
from Acquisition import aq_base, aq_parent, aq_inner, aq_acquire
from Products.CMFCore.utils import getToolByName
+from Products.PythonScripts.Utility import allow_class
from Products.ERP5Type import Permissions, PropertySheet, Constraint, Interface
from Products.ERP5.Document.Rule import Rule
@@ -39,6 +40,7 @@
from zLOG import LOG
class TransformationRuleError(Exception): pass
+allow_class(TransformationRuleError)
class TransformationRule(TransformationSourcingRuleMixin, Rule):
"""
More information about the Erp5-report
mailing list