--- a/server/hook.py Wed Oct 09 12:10:44 2013 +0200
+++ b/server/hook.py Fri Aug 30 15:34:58 2013 +0200
@@ -41,7 +41,7 @@
defined over data events.
Also, some :class:`~cubicweb.server.hook.Operation` may be registered by hooks,
-which will be fired when the transaction is commited or rollbacked.
+which will be fired when the transaction is commited or rolled back.
The purpose of data event hooks is usually to complement the data model as
defined in the schema, which is static by nature and only provide a restricted
@@ -715,10 +715,10 @@
* `rollback`:
- the transaction has been either rollbacked either:
+ the transaction has been either rolled back either:
* intentionaly
- * a 'precommit' event failed, in which case all operations are rollbacked
+ * a 'precommit' event failed, in which case all operations are rolled back
once 'revertprecommit'' has been called
* `postcommit`:
@@ -780,7 +780,7 @@
"""
def rollback_event(self):
- """the observed connections set has been rollbacked
+ """the observed connections set has been rolled back
do nothing by default
"""
@@ -1044,7 +1044,7 @@
type/source cache eids of entities added in that transaction.
NOTE: querier's rqlst/solutions cache may have been polluted too with
- queries such as Any X WHERE X eid 32 if 32 has been rollbacked however
+ queries such as Any X WHERE X eid 32 if 32 has been rolled back however
generated queries are unpredictable and analysing all the cache probably
too expensive. Notice that there is no pb when using args to specify eids
instead of giving them into the rql string.
@@ -1052,7 +1052,7 @@
data_key = 'neweids'
def rollback_event(self):
- """the observed connections set has been rollbacked,
+ """the observed connections set has been rolled back,
remove inserted eid from repository type/source cache
"""
try:
@@ -1066,7 +1066,7 @@
"""
data_key = 'pendingeids'
def postcommit_event(self):
- """the observed connections set has been rollbacked,
+ """the observed connections set has been rolled back,
remove inserted eid from repository type/source cache
"""
try: