remove deprecation warning 1.8.0 centos/1.8.0-1 debian/1.8.0-1
authorSamuel Trégouët <samuel.tregouet@logilab.fr>
Tue, 26 Sep 2017 14:35:58 +0200
changeset 189 0021cffb5f43
parent 188 6fb2d871eb7f
child 190 bf1fe1d24629
remove deprecation warning
cubicweb_keyword/sobjects.py
--- a/cubicweb_keyword/sobjects.py	Tue Sep 26 11:19:32 2017 +0200
+++ b/cubicweb_keyword/sobjects.py	Tue Sep 26 14:35:58 2017 +0200
@@ -10,6 +10,7 @@
 
 from cubicweb.predicates import is_instance
 from cubicweb.sobjects.notification import NotificationView
+from cubicweb import _
 
 
 class KeywordNotificationView(NotificationView):