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:
if self._jar.get_connection(database_name) is not obj._p_jar:
raise InvalidObjectReference(
"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"
)
......
......@@ -56,7 +56,7 @@ database open function, but this doesn't work:
Traceback (most recent call last):
...
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()
......@@ -72,7 +72,7 @@ different connections to the same database.
Traceback (most recent call last):
...
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()
......
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