web/views/workflow.py
changeset 9402 2c48c091b6a2
parent 9383 7b3fa5a7a5a3
child 9440 6880674c1a26
--- a/web/views/workflow.py	Tue Jul 02 17:09:04 2013 +0200
+++ b/web/views/workflow.py	Mon Jan 13 13:47:47 2014 +0100
@@ -29,6 +29,7 @@
 
 from logilab.mtconverter import xml_escape
 from logilab.common.graph import escape
+from logilab.common.deprecation import class_deprecated
 
 from cubicweb import Unauthorized
 from cubicweb.predicates import (has_related_entities, one_line_rset,
@@ -436,6 +437,8 @@
 
 
 class TmpPngView(TmpFileViewMixin, EntityView):
+    __metaclass__ = class_deprecated
+    __deprecation_warning__ = '[3.18] %(cls)s is deprecated'
     __regid__ = 'tmppng'
     __select__ = match_form_params('tmpfile')
     content_type = 'image/png'