mirror of
https://github.com/wassname/pyramid_formalchemy.git
synced 2026-06-27 16:10:40 +08:00
Update pyramid_formalchemy/resources.py
Fixed import error with SQLAlchemy 0.8+
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
from pyramid.exceptions import NotFound
|
from pyramid.exceptions import NotFound
|
||||||
from pyramid_formalchemy import actions
|
from pyramid_formalchemy import actions
|
||||||
from sqlalchemy import exceptions as sqlalchemy_exceptions
|
from sqlalchemy import exc as sqlalchemy_exceptions
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
log = logging.getLogger(__name__)
|
log = logging.getLogger(__name__)
|
||||||
|
|||||||
Reference in New Issue
Block a user