# HG changeset patch # User Sylvain Thénault # Date 1318592199 -7200 # Node ID db49658b281232b2019eb9fd648de8634948a86b # Parent f4c97d3c8b934cb228050aaa56612fdb941e2344 add missing imports diff -r f4c97d3c8b93 -r db49658b2812 utils.py --- 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 . """Some utilities for CubicWeb server/clients.""" -from __future__ import division + +from __future__ import division, with_statement + __docformat__ = "restructuredtext en" import sys diff -r f4c97d3c8b93 -r db49658b2812 web/views/facets.py --- 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