--- a/utils.py Fri Oct 14 10:34:08 2011 +0200
+++ b/utils.py Fri Oct 14 13:36:39 2011 +0200
@@ -16,7 +16,9 @@
# You should have received a copy of the GNU Lesser General Public License along
# with CubicWeb. If not, see <http://www.gnu.org/licenses/>.
"""Some utilities for CubicWeb server/clients."""
-from __future__ import division
+
+from __future__ import division, with_statement
+
__docformat__ = "restructuredtext en"
import sys
--- a/web/views/facets.py Fri Oct 14 10:34:08 2011 +0200
+++ b/web/views/facets.py Fri Oct 14 13:36:39 2011 +0200
@@ -20,6 +20,8 @@
__docformat__ = "restructuredtext en"
_ = unicode
+from warnings import warn
+
from logilab.mtconverter import xml_escape
from cubicweb.appobject import objectify_selector