# HG changeset patch # User Sylvain Thénault # Date 1294841969 -3600 # Node ID 5ad3e070b1a663a0026313f05f928ff0a1d46f6d # Parent a637f961665db0f8ec8cf5b5d0a3474acc03875a [idownloadable] restore backward compat diff -r a637f961665d -r 5ad3e070b1a6 web/views/idownloadable.py --- a/web/views/idownloadable.py Wed Jan 12 15:19:10 2011 +0100 +++ b/web/views/idownloadable.py Wed Jan 12 15:19:29 2011 +0100 @@ -21,6 +21,7 @@ _ = unicode from logilab.mtconverter import BINARY_ENCODINGS, TransformError, xml_escape +from logilab.common.deprecation import class_renamed from cubicweb import tags from cubicweb.view import EntityView @@ -169,6 +170,10 @@ self.w(u'%s [%s]' % (url, name, durl, self._cw._('download'))) +IDownloadableLineView = class_renamed( + 'IDownloadableLineView', IDownloadableOneLineView, + '[3.10] IDownloadableLineView is deprecated, use %IDownloadableOneLineView') + class AbstractEmbeddedView(EntityView): __abstract__ = True