summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Suever <suever@gmail.com>2017-04-06 15:52:10 -0400
committerJonathan Suever <suever@gmail.com>2017-04-06 15:52:10 -0400
commit90c72c31a55337bef61cdd0cb75f5d128bcc34f9 (patch)
tree46c3f2355d215a615a25b24909b9908dd02431b3
parent93b11905e599a6d73a85d2085e15385ebf46cdc6 (diff)
downloadsqlalchemy-90c72c31a55337bef61cdd0cb75f5d128bcc34f9.tar.gz
Fix of minor typo in the UnmappedInstanceError message
-rw-r--r--lib/sqlalchemy/orm/exc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/orm/exc.py b/lib/sqlalchemy/orm/exc.py
index c13bb673b..bd63a1b5a 100644
--- a/lib/sqlalchemy/orm/exc.py
+++ b/lib/sqlalchemy/orm/exc.py
@@ -71,7 +71,7 @@ class UnmappedInstanceError(UnmappedError):
base.class_mapper(type(obj))
name = _safe_cls_name(type(obj))
msg = ("Class %r is mapped, but this instance lacks "
- "instrumentation. This occurs when the instance"
+ "instrumentation. This occurs when the instance "
"is created before sqlalchemy.orm.mapper(%s) "
"was called." % (name, name))
except UnmappedClassError: