Silence cubicweb 3.16 deprecation warnings
authorJulien Cristau <julien.cristau@logilab.fr>
Thu, 24 Jul 2014 12:10:47 +0200
changeset 1560 4205ad135a12
parent 1559 40234c0420e8
child 1561 ea7b1e630c1b
Silence cubicweb 3.16 deprecation warnings cubicweb.web.uicfg → cubicweb.web.views.uicfg
views/__init__.py
views/primary.py
views/testexecution.py
views/tracker.py
--- a/views/__init__.py	Thu Jul 24 12:08:32 2014 +0200
+++ b/views/__init__.py	Thu Jul 24 12:10:47 2014 +0200
@@ -5,8 +5,8 @@
 import re
 
 from cubicweb.view import NOINDEX, NOFOLLOW
-from cubicweb.web import uicfg, formwidgets as wdgs
-from cubicweb.web.views import urlpublishing
+from cubicweb.web import formwidgets as wdgs
+from cubicweb.web.views import uicfg, urlpublishing
 from cubicweb.web.views.urlrewrite import rgx, build_rset, SchemaBasedRewriter
 
 _afs = uicfg.autoform_section
--- a/views/primary.py	Thu Jul 24 12:08:32 2014 +0200
+++ b/views/primary.py	Thu Jul 24 12:10:47 2014 +0200
@@ -16,9 +16,9 @@
                                 match_user_groups, match_kwargs, match_form_params,
                                 score_entity)
 from cubicweb.view import EntityView
-from cubicweb.web import uicfg, box, formfields as ff, formwidgets as fwdgs
+from cubicweb.web import box, formfields as ff, formwidgets as fwdgs
 from cubicweb.web.views import tabs, forms, baseviews, tableview
-from cubicweb.web.views import ibreadcrumbs
+from cubicweb.web.views import ibreadcrumbs, uicfg
 
 from cubes.narval.views import no_robot_index, startplan
 
--- a/views/testexecution.py	Thu Jul 24 12:08:32 2014 +0200
+++ b/views/testexecution.py	Thu Jul 24 12:10:47 2014 +0200
@@ -19,8 +19,8 @@
 from cubicweb import Unauthorized, tags
 from cubicweb.predicates import is_instance, none_rset, score_entity
 from cubicweb.view import EntityView
-from cubicweb.web import uicfg, box
-from cubicweb.web.views import tabs, tableview, baseviews
+from cubicweb.web import box
+from cubicweb.web.views import tabs, tableview, baseviews, uicfg
 from cubicweb.web.views import ibreadcrumbs, idownloadable, navigation
 
 from cubes.narval.views import no_robot_index
--- a/views/tracker.py	Thu Jul 24 12:08:32 2014 +0200
+++ b/views/tracker.py	Thu Jul 24 12:10:47 2014 +0200
@@ -10,8 +10,7 @@
 
 from cubicweb.predicates import is_instance
 from cubicweb.view import EntityView
-from cubicweb.web import uicfg
-from cubicweb.web.views import forms
+from cubicweb.web.views import forms, uicfg
 from cubicweb.web.formfields import StringField, DateField
 from cubicweb.web.views.formrenderers import EntityFormRenderer
 from cubicweb.web import formwidgets as fwdgs, httpcache