diff --git a/product/ERP5Type/Cache.py b/product/ERP5Type/Cache.py index d65e2b7d6750ad433a4cec172b05be92ced21d3c..33c1252723b9b397b5547dfd24adfc85929bb538 100644 --- a/product/ERP5Type/Cache.py +++ b/product/ERP5Type/Cache.py @@ -232,7 +232,7 @@ allow_class(CachingMethod) # TransactionCache is a cache per transaction. The purpose of this cache is # to accelerate some heavy read-only operations. Note that this must not be -# enabled when a trasaction may modify ZODB objects. +# enabled when a transaction may modify ZODB objects. def getReadOnlyTransactionCache(context): """Get the transaction cache. """ diff --git a/product/ERP5Type/Constraint/PropertyTypeValidity.py b/product/ERP5Type/Constraint/PropertyTypeValidity.py index e63790b6afe1a12c7a714246f03768393731c40d..345c0d6369456f15fbed77506a98b6a1e8387008 100644 --- a/product/ERP5Type/Constraint/PropertyTypeValidity.py +++ b/product/ERP5Type/Constraint/PropertyTypeValidity.py @@ -39,7 +39,7 @@ except NameError: class PropertyTypeValidity(Constraint): """ This constraint class allows to check / fix type of each - attributes define in the PropertySheets. + attributes defined in the PropertySheets. This Constraint is always created in ERP5Type/Utils.py """