Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion pyramid_formalchemy/views.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
from unittest import SkipTest
import zope.component.event
from zope.interface import alsoProvides
from webhelpers.paginate import Page
Expand All @@ -21,7 +22,8 @@

try:
from formalchemy.ext.couchdb import Document
except ImportError:
# formalchemy >1.5 raises SkipTest when couchdb is not exists
except (ImportError, SkipTest):
Document = None

try:
Expand Down