remove the "diff_name" variable; it is unused and we don't want

(language-specific) text in the source.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@415 8cb11bc2-c004-0410-86c3-e597b4017df7
remotes/tags/V0_9
gstein 2001-12-23 04:18:42 +00:00
parent 5ca27eee4c
commit c9710b9ba2
1 changed files with 0 additions and 5 deletions

View File

@ -2321,24 +2321,19 @@ def view_diff(request, cvs_filename):
format = query_dict['diff_format']
if format == 'c':
args.append('-c')
diff_name = 'Context diff'
elif format == 's':
args.append('--side-by-side')
args.append('--width=164')
diff_name = 'Side by Side'
elif format == 'l':
args.append('--unified=15')
diff_name = 'Long Human readable'
human_readable = 1
unified = 1
elif format == 'h':
args.append('-u')
diff_name = 'Human readable'
human_readable = 1
unified = 1
elif format == 'u':
args.append('-u')
diff_name = 'Unidiff'
unified = 1
else:
error('Diff format %s not understood' % format, '400 Bad arguments')