Update pyramid_formalchemy/resources.py

Fixed import error with SQLAlchemy 0.8+
This commit is contained in:
wassname
2013-02-16 11:37:53 +13:00
parent effe9b5e34
commit a3fc734cf2
+1 -1
View File
@@ -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__)