add missing warn imports stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 17 Mar 2010 11:30:39 +0100
branchstable
changeset 4932 dce5ebe5d598
parent 4931 92c9d0a5dc11
child 4934 0dfd86d2cd98
child 4935 f710770e6e90
add missing warn imports
web/views/actions.py
web/views/autoform.py
web/views/editcontroller.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,
--- 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
--- 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