Skip to content

Commit 9039642

Browse files
committed
Reverted exporting of exceptions because it does not work
1 parent b119fa7 commit 9039642

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flaskext/sqlalchemy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def _create_scoped_session(db):
5151

5252

5353
def _include_sqlalchemy(obj):
54-
for module in sqlalchemy, sqlalchemy.orm, sqlalchemy.orm.exc:
54+
for module in sqlalchemy, sqlalchemy.orm:
5555
for key in module.__all__:
5656
if not hasattr(obj, key):
5757
setattr(obj, key, getattr(module, key))

0 commit comments

Comments
 (0)