Flake8: fix errors
authorNsukami Patrick <ndkpatt at gmail dot com>
Wed, 12 Jun 2019 11:04:02 +0000
changeset 39 1042a52ceb67
parent 38 9f148921520c
child 40 b0030ecca117
Flake8: fix errors - F401 'cubicweb.predicates.is_instance' imported but unused - F821 undefined name '_'
cubicweb_activitystream/views.py
--- a/cubicweb_activitystream/views.py	Wed Jun 12 10:58:47 2019 +0000
+++ b/cubicweb_activitystream/views.py	Wed Jun 12 11:04:02 2019 +0000
@@ -1,6 +1,7 @@
 from logilab.mtconverter import xml_escape
-from cubicweb.predicates import is_instance, adaptable
+from cubicweb.predicates import adaptable
 from cubicweb.view import EntityView
+from cubicweb import _
 
 
 class AStreamView(EntityView):