summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/ext/assignmapper.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/ext/assignmapper.py')
-rw-r--r--lib/sqlalchemy/ext/assignmapper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/ext/assignmapper.py b/lib/sqlalchemy/ext/assignmapper.py
index 0fe203f9d..5a28fbe68 100644
--- a/lib/sqlalchemy/ext/assignmapper.py
+++ b/lib/sqlalchemy/ext/assignmapper.py
@@ -69,4 +69,4 @@ def assign_mapper(ctx, class_, *args, **kwargs):
return m
assign_mapper = util.deprecated(
- assign_mapper, "assign_mapper is deprecated. Use scoped_session() instead.")
+ "assign_mapper is deprecated. Use scoped_session() instead.")(assign_mapper)