--- a/cubicweb/server/utils.py Thu Mar 14 14:45:35 2019 +0100
+++ b/cubicweb/server/utils.py Thu Mar 14 12:08:37 2019 +0100
@@ -32,8 +32,6 @@
from passlib.utils import handlers as uh, to_hash_str
from passlib.context import CryptContext
-from logilab.common.deprecation import deprecated
-
from cubicweb.md5crypt import crypt as md5crypt
@@ -83,17 +81,6 @@
return b''
-@deprecated('[3.22] no more necessary, directly get eschema.eid')
-def eschema_eid(cnx, eschema):
- """get eid of the CWEType entity for the given yams type.
-
- This used to be necessary because when the schema has been loaded from the
- file-system, not from the database, (e.g. during tests), eschema.eid was
- not set.
- """
- return eschema.eid
-
-
DEFAULT_MSG = 'we need a manager connection on the repository \
(the server doesn\'t have to run, even should better not)'