summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2007-08-05 17:58:57 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2007-08-05 17:58:57 +0000
commit758c833facd7f485c1ab4b0d751282be53d5c6cb (patch)
tree882e1b2735d954689a7afc9be98a270b989beba7
parent3ab0fe50ed821056743a9bc1546b9d52c2872d9d (diff)
downloadsqlalchemy-758c833facd7f485c1ab4b0d751282be53d5c6cb.tar.gz
- fixed small exception throw bug in Session.merge()
-rw-r--r--CHANGES1
-rw-r--r--lib/sqlalchemy/orm/session.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 43b8213db..3e4d174a6 100644
--- a/CHANGES
+++ b/CHANGES
@@ -3,6 +3,7 @@
- added a check for joining from A->B using join(), along two
different m2m tables. this raises an error in 0.3 but is
possible in 0.4 when aliases are used. [ticket:687]
+ - fixed small exception throw bug in Session.merge()
- engine
- fixed another occasional race condition which could occur
when using pool with threadlocal setting
diff --git a/lib/sqlalchemy/orm/session.py b/lib/sqlalchemy/orm/session.py
index 4e7453d84..ead8d2cf1 100644
--- a/lib/sqlalchemy/orm/session.py
+++ b/lib/sqlalchemy/orm/session.py
@@ -8,6 +8,7 @@ from sqlalchemy import util, exceptions, sql, engine
from sqlalchemy.orm import unitofwork, query
from sqlalchemy.orm.mapper import object_mapper as _object_mapper
from sqlalchemy.orm.mapper import class_mapper as _class_mapper
+from sqlalchemy.orm import util as mapperutil
import weakref
import sqlalchemy