diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-11-23 16:07:37 +0200 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-11-23 16:08:11 +0200 |
commit | 7e749c341042da1903f0dfe4d76803c9a5e950c5 (patch) | |
tree | fc62432ed2952b60c4202d5dbc39ff9d9815394c /filter | |
parent | 4b8d8aeec472bd358f4e43e7fc6288644ce2d634 (diff) |
Surely we can bin all indentation in the JavaScript
Change-Id: I8b889402345bd86c4a9ced62a22ad4137c673693
Diffstat (limited to 'filter')
-rwxr-xr-x | filter/source/svg/js2hxx.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/svg/js2hxx.py b/filter/source/svg/js2hxx.py index 39164b61c948..8aeb94c665c4 100755 --- a/filter/source/svg/js2hxx.py +++ b/filter/source/svg/js2hxx.py @@ -86,7 +86,7 @@ for line in in_lines: dline = dline.replace( 'DebugPrinter.on', 'DebugPrinter.off' ) escaped_line = '%s' % dline - escaped_line = escaped_line.rstrip() + escaped_line = escaped_line.rstrip().lstrip() # no more than 2 consecutive empty lines if( escaped_line == '' ): |