--- a/web/views/__init__.py Thu Dec 12 16:17:25 2013 +0100
+++ b/web/views/__init__.py Mon Jan 06 12:01:35 2014 +0100
@@ -25,6 +25,7 @@
from rql import nodes
from logilab.mtconverter import xml_escape
+from logilab.common.deprecation import class_deprecated
def need_table_view(rset, schema):
@@ -125,7 +126,10 @@
return u''
+
class TmpFileViewMixin(object):
+ __metaclass__ = class_deprecated
+ __deprecation_warning__ = '[3.18] %(cls)s is deprecated'
binary = True
content_type = 'application/octet-stream'
cache_max_age = 60*60*2 # stay in http cache for 2 hours by default