[views] remove reference to the MAPPING_CHECKERS dict (closes #3810219)
authorDavid Douard <david.douard@logilab.fr>
Tue, 06 May 2014 14:11:17 +0200
changeset 9729 1fe9dad662e5
parent 9723 46ad7d474d3d
child 9735 b71158815bc8
[views] remove reference to the MAPPING_CHECKERS dict (closes #3810219) Was removed by by the changeset 65d93a4fd11c ([multi-sources-removal] Drop pyrorql and zmqrql sources)
web/views/cwsources.py
--- a/web/views/cwsources.py	Fri Apr 18 14:24:52 2014 +0200
+++ b/web/views/cwsources.py	Tue May 06 14:11:17 2014 +0200
@@ -117,7 +117,7 @@
             'Any X, SCH, XO ORDERBY ET WHERE X options XO, X cw_for_source S, S eid %(s)s, '
             'X cw_schema SCH, SCH is ET', {'s': entity.eid})
         self.wview('table', rset, 'noresult')
-        checker = MAPPING_CHECKERS.get(entity.type, MappingChecker)(entity)
+        checker = MappingChecker(entity)
         checker.check()
         if (checker.errors or checker.warnings or checker.infos):
             self.w('<h2>%s</h2>' % _('Detected problems'))