[Erp5-report] r23290 - /erp5/trunk/products/ERP5/Constraint/AccountTypeConstraint.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Aug 29 15:37:15 CEST 2008
Author: yusei
Date: Fri Aug 29 15:37:08 2008
New Revision: 23290
URL: http://svn.erp5.org?rev=23290&view=rev
Log:
Use written English.
Modified:
erp5/trunk/products/ERP5/Constraint/AccountTypeConstraint.py
Modified: erp5/trunk/products/ERP5/Constraint/AccountTypeConstraint.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Constraint/AccountTypeConstraint.py?rev=23290&r1=23289&r2=23290&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Constraint/AccountTypeConstraint.py (original)
+++ erp5/trunk/products/ERP5/Constraint/AccountTypeConstraint.py Fri Aug 29 15:37:08 2008
@@ -65,12 +65,12 @@
if getattr(obj, 'getAccountType', _MARKER) is _MARKER:
errors.append(self._generateError(
obj,
- translateString("Account doesn't have account_type category")))
+ translateString("Account does not have account_type category")))
else:
account_type_map = getattr(self, '_account_type_map', ())
if not account_type_map:
raise NotImplementedError(
- "AccountTypeConstraint doesn't define an _account_type_map")
+ "AccountTypeConstraint does not define an _account_type_map")
found = 0
for category, account_type_list in account_type_map:
if obj.isMemberOf(category):
More information about the Erp5-report
mailing list