diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-02-12 18:00:45 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-02-12 18:00:45 -0500 |
commit | 53aab63b6c24dfdcc249ada5c9d712dc42e5ae40 (patch) | |
tree | 04d0b282c7b5e2c43b2e46a0d87c242521dc3545 /lib/sqlalchemy/ext/sqlsoup.py | |
parent | de9ec22de972ec66f07db8b745108c6248bec6ad (diff) | |
download | sqlalchemy-53aab63b6c24dfdcc249ada5c9d712dc42e5ae40.tar.gz |
- remove some remaining sys.modules shenanigansrel_0_7b1
- The "sqlalchemy.exceptions" alias in sys.modules
has been removed. Base SQLA exceptions are
available via "from sqlalchemy import exc".
The "exceptions" alias for "exc" remains in
"sqlalchemy" for now, it's just not patched into
sys.modules.
Diffstat (limited to 'lib/sqlalchemy/ext/sqlsoup.py')
-rw-r--r-- | lib/sqlalchemy/ext/sqlsoup.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/ext/sqlsoup.py b/lib/sqlalchemy/ext/sqlsoup.py index ded8a35cd..f76a175a4 100644 --- a/lib/sqlalchemy/ext/sqlsoup.py +++ b/lib/sqlalchemy/ext/sqlsoup.py @@ -367,7 +367,7 @@ from sqlalchemy.orm import scoped_session, sessionmaker, mapper, \ class_mapper, relationship, session,\ object_session, attributes from sqlalchemy.orm.interfaces import MapperExtension, EXT_CONTINUE -from sqlalchemy.exceptions import SQLAlchemyError, InvalidRequestError, ArgumentError +from sqlalchemy.exc import SQLAlchemyError, InvalidRequestError, ArgumentError from sqlalchemy.sql import expression |