web/views/editcontroller.py
changeset 5877 0c7b7b76a84f
parent 5676 aa04ccb8dd62
child 6015 ee76e8e72776
child 6029 aac5dba278c7
--- a/web/views/editcontroller.py	Fri Jul 02 19:14:48 2010 +0200
+++ b/web/views/editcontroller.py	Mon Jul 05 12:04:32 2010 +0200
@@ -27,7 +27,7 @@
 
 from cubicweb import Binary, ValidationError, typed_eid
 from cubicweb.view import EntityAdapter, implements_adapter_compat
-from cubicweb.selectors import implements
+from cubicweb.selectors import is_instance
 from cubicweb.web import (INTERNAL_FIELD_VALUE, RequestError, NothingToEdit,
                           ProcessFormError)
 from cubicweb.web.views import basecontrollers, autoform
@@ -35,7 +35,7 @@
 
 class IEditControlAdapter(EntityAdapter):
     __regid__ = 'IEditControl'
-    __select__ = implements('Any')
+    __select__ = is_instance('Any')
 
     @implements_adapter_compat('IEditControl')
     def after_deletion_path(self):