def get_last_line_number_in_diff(context, filediff, interfilediff):
 f = get_file_from_filediff(context, filediff, interfilediff)
 last_chunk = f[u'chunks'][(-1)]
 last_line = last_chunk[u'lines'][(-1)]
 return last_line[0]

def get_last_line_number_in_diff ( context , filediff , interfilediff ) : f = get_file_from_filediff ( context , filediff , interfilediff ) last_chunk = f [ u'chunks' ] [ ( - 1 ) ] last_line = last_chunk [ u'lines' ] [ ( - 1 ) ] return last_line [ 0 ]
determine the last virtual line number in the filediff/interfilediff .