Commit 0c428355 authored by Tim Peters's avatar Tim Peters

Merge revs 40617 and 40739 from ZODB trunk.

Repair typo in exception message.
parent e9bed968
...@@ -340,7 +340,7 @@ class ObjectWriter: ...@@ -340,7 +340,7 @@ class ObjectWriter:
if self._jar.get_connection(database_name) is not obj._p_jar: if self._jar.get_connection(database_name) is not obj._p_jar:
raise InvalidObjectReference( raise InvalidObjectReference(
"Attempt to store a reference to an object from " "Attempt to store a reference to an object from "
"a separate onnection to the same database or " "a separate connection to the same database or "
"multidatabase" "multidatabase"
) )
......
...@@ -56,7 +56,7 @@ database open function, but this doesn't work: ...@@ -56,7 +56,7 @@ database open function, but this doesn't work:
Traceback (most recent call last): Traceback (most recent call last):
... ...
InvalidObjectReference: Attempt to store a reference to an object InvalidObjectReference: Attempt to store a reference to an object
from a separate onnection to the same database or multidatabase from a separate connection to the same database or multidatabase
>>> tm.abort() >>> tm.abort()
...@@ -72,7 +72,7 @@ different connections to the same database. ...@@ -72,7 +72,7 @@ different connections to the same database.
Traceback (most recent call last): Traceback (most recent call last):
... ...
InvalidObjectReference: Attempt to store a reference to an object InvalidObjectReference: Attempt to store a reference to an object
from a separate onnection to the same database or multidatabase from a separate connection to the same database or multidatabase
>>> tm.abort() >>> tm.abort()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment