From 2219548fe9eb8574439a1f614f39657ab2dd7276 Mon Sep 17 00:00:00 2001 From: Raphael Quinet Date: Tue, 17 Jan 2006 13:15:15 +0000 Subject: [PATCH] updated so that the code does not add trailing whitespace in generated 2006-01-17 Raphael Quinet * app/composite/make-installer.py (print_function_table): updated so that the code does not add trailing whitespace in generated function tables. --- ChangeLog | 4 ++++ app/composite/make-installer.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3fbb0bdaeb..2a4c315194 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2006-01-17 Raphaƫl Quinet + * 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. diff --git a/app/composite/make-installer.py b/app/composite/make-installer.py index bc8e0e0d48..031daa44e5 100755 --- a/app/composite/make-installer.py +++ b/app/composite/make-installer.py @@ -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