# HG changeset patch # User Sylvain Thénault # Date 1268821839 -3600 # Node ID dce5ebe5d598f86841f7f1f5cd74084705b0b988 # Parent 92c9d0a5dc113a0ee9c78cc154e94fe335eac0cc add missing warn imports diff -r 92c9d0a5dc11 -r dce5ebe5d598 web/views/actions.py --- a/web/views/actions.py Wed Mar 17 09:58:37 2010 +0100 +++ b/web/views/actions.py Wed Mar 17 11:30:39 2010 +0100 @@ -8,6 +8,8 @@ __docformat__ = "restructuredtext en" _ = unicode +from warnings import warn + from cubicweb.schema import display_name from cubicweb.appobject import objectify_selector from cubicweb.selectors import (EntitySelector, yes, diff -r 92c9d0a5dc11 -r dce5ebe5d598 web/views/autoform.py --- a/web/views/autoform.py Wed Mar 17 09:58:37 2010 +0100 +++ b/web/views/autoform.py Wed Mar 17 11:30:39 2010 +0100 @@ -9,6 +9,8 @@ __docformat__ = "restructuredtext en" _ = unicode +from warnings import warn + from simplejson import dumps from logilab.mtconverter import xml_escape diff -r 92c9d0a5dc11 -r dce5ebe5d598 web/views/editcontroller.py --- a/web/views/editcontroller.py Wed Mar 17 09:58:37 2010 +0100 +++ b/web/views/editcontroller.py Wed Mar 17 11:30:39 2010 +0100 @@ -7,6 +7,8 @@ """ __docformat__ = "restructuredtext en" +from warnings import warn + from rql.utils import rqlvar_maker from logilab.common.textutils import splitstrip