#NEWLINE# def make_etag( self , renderer_settings , filediff_id , interfilediff_id = None , **kwargs ) : #NEWLINE# #INDENT# 'Return an ETag identifying this render.\n\n        Args:\n            renderer_settings (dict):\n                The settings determining how to render this diff.\n\n                The following keys are required: ``collapse_all`` and\n                ``highlighting``.\n\n                The following key is optional: ``show_deleted``.\n\n            filediff_id (int):\n                The ID of the\n                :py:class:`~reviewboard.diffviewer.models.FileDiff` being\n                rendered.\n\n            interfilediff_id (int):\n                The ID of the\n                :py:class:`~reviewboard.diffviewer.models.FileDiff` on the\n                other side of the diff revision, if viewing an interdiff.\n\n            **kwargs (dict):\n                Additional keyword arguments passed to the function.\n\n        Return:\n            unicode:\n            The encoded ETag identifying this render.\n        ' #NEWLINE# etag = ( '%s:%s:%s:%s:%s:%s' % ( get_diff_renderer_class ( ) , renderer_settings [ 'collapse_all' ] , renderer_settings [ 'highlighting' ] , show_deleted , interfilediff_id , settings . TEMPLATE_SERIAL ) ) #NEWLINE# show_deleted = renderer_settings . get ( 'show_deleted' ) #NEWLINE# if show_deleted : #NEWLINE# #INDENT# etag += ( ':%s' % show_deleted ) #NEWLINE# #UNINDENT# return encode_etag ( etag )