#NEWLINE# def _get_requested_diff_file( self , diffset , filediff , interdiffset ) : #NEWLINE# #INDENT# "Fetches information on the requested diff.\n\n        This will look up information on the diff that's to be rendered\n        and return it, if found. It may also augment it with additional\n        data.\n\n        The file will not contain chunk information. That must be specifically\n        populated later.\n        " #NEWLINE# files = get_diff_files ( diffset , filediff , interdiffset , request = self . request ) #NEWLINE# if files : #NEWLINE# #INDENT# assert ( len ( files ) == 1 ) #NEWLINE# file = files [ 0 ] #NEWLINE# if ( 'index' in self . request . GET ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# file [ 'index' ] = int ( self . request . GET . get ( 'index' ) ) #NEWLINE# #UNINDENT# except ValueError : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# #UNINDENT# return file #NEWLINE# #UNINDENT# return None