Commit a4ebe782 authored by Noé Gaumont's avatar Noé Gaumont 🐙
Browse files

Remove useless error FindEntittyError

This error is not used since the deprecated find_one_entity method has been removed in 566f8fce5168
parent ee2d77be950c
...@@ -34,10 +34,6 @@ ONESECOND = timedelta(0, 1, 0) ...@@ -34,10 +34,6 @@ ONESECOND = timedelta(0, 1, 0)
CACHE_REGISTRY = {} CACHE_REGISTRY = {}
class FindEntityError(Exception):
"""raised when find_one_entity() can not return one and only one entity"""
class Cache(dict): class Cache(dict):
def __init__(self): def __init__(self):
super(Cache, self).__init__() super(Cache, self).__init__()
......
...@@ -5,7 +5,5 @@ ...@@ -5,7 +5,5 @@
.. automodule:: cubicweb.req .. automodule:: cubicweb.req
.. autoexception:: FindEntityError
.. autoclass:: RequestSessionBase .. autoclass:: RequestSessionBase
:members: :members:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment