--- a/web/views/sparql.py Fri Feb 26 09:54:32 2010 +0100
+++ b/web/views/sparql.py Fri Feb 26 13:09:12 2010 +0100
@@ -5,7 +5,7 @@
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
-v__docformat__ = "restructuredtext en"
+__docformat__ = "restructuredtext en"
import rql
from yams import xy
@@ -17,7 +17,7 @@
from cubicweb.web import Redirect, form, formfields, formwidgets as fwdgs
from cubicweb.web.views import forms, urlrewrite
try:
- from cubicweb.spa2rql import Sparql2rqlTranslator
+ from cubicweb.spa2rql import Sparql2rqlTranslator, UnsupportedQuery
except ImportError:
# fyzz not available (only a recommends)
Sparql2rqlTranslator = None