diff -r e77aa963fb19 -r 0c7b7b76a84f web/views/editcontroller.py --- 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):