updated so that the code does not add trailing whitespace in generated

2006-01-17  Raphael Quinet  <raphael@gimp.org>

	* app/composite/make-installer.py (print_function_table): updated
	so that the code does not add trailing whitespace in generated
	function tables.
This commit is contained in:
Raphael Quinet 2006-01-17 13:15:15 +00:00 committed by Raphaël Quinet
parent 7d8998a99c
commit 2219548fe9
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,9 @@
2006-01-17 Raphaël Quinet <raphael@gimp.org>
* app/composite/make-installer.py (print_function_table): updated
so that the code does not add trailing whitespace in generated
function tables.
* (about 130 *.[ch] files): automatically removed trailing
whitespace from 3460 lines.

View File

@ -156,7 +156,7 @@ def print_function_table(fpout, name, function_table, requirements=[]):
for D in filter(lambda pf: pf != "GIMP_PIXELFORMAT_ANY", pixel_format):
key = "%s_%s_%s_%s" % (string.lower(mode), pixel_depth_name(A), pixel_depth_name(B), pixel_depth_name(D))
if function_table.has_key(key):
print >>fpout, ' { %s, %s, %s, %s, %s }, ' % (mode, A, B, D, function_table[key][0])
print >>fpout, ' { %s, %s, %s, %s, %s },' % (mode, A, B, D, function_table[key][0])
pass
pass
pass