cubicweb/_exceptions.py
changeset 12613 703a263dd618
parent 12612 f758bc424dc9
child 12614 8ac9ac8d9143
--- a/cubicweb/_exceptions.py	Thu May 16 04:47:27 2019 +0200
+++ b/cubicweb/_exceptions.py	Thu May 16 09:40:28 2019 +0200
@@ -19,6 +19,7 @@
 
 
 from logilab.common.decorators import cachedproperty
+from logilab.common.registry import RegistryException
 
 from yams import ValidationError  # noqa: F401
 
@@ -148,10 +149,6 @@
 
 # registry exceptions #########################################################
 
-# pre 3.15 bw compat
-from logilab.common.registry import RegistryException, ObjectNotFound, NoSelectableObject
-
-
 class UnknownProperty(RegistryException):
     """property found in database but unknown in registry"""
 
@@ -216,4 +213,4 @@
 
 
 # pylint: disable=W0611
-from logilab.common.clcommands import BadCommandUsage
+from logilab.common.clcommands import BadCommandUsage  # noqa: E402, F401