diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-11-23 15:55:56 +0200 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-11-23 15:57:57 +0200 |
commit | 4b8d8aeec472bd358f4e43e7fc6288644ce2d634 (patch) | |
tree | 0b322783806e75667cefdddc14c4715e406ae9c9 /filter | |
parent | Why write Emacs and vim mode lines to a generated file one should not edit? (diff) | |
download | core-4b8d8aeec472bd358f4e43e7fc6288644ce2d634.tar.gz core-4b8d8aeec472bd358f4e43e7fc6288644ce2d634.zip |
We prefix each line with four spaces, not append, but why?
Change-Id: Ia654664700b0b9262a5803d2976c22b61e44e758
Diffstat (limited to 'filter')
-rwxr-xr-x | filter/source/svg/js2hxx.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/filter/source/svg/js2hxx.py b/filter/source/svg/js2hxx.py index 9c24fc422ece..39164b61c948 100755 --- a/filter/source/svg/js2hxx.py +++ b/filter/source/svg/js2hxx.py @@ -85,8 +85,7 @@ for line in in_lines: dline = dline.replace( 'ANIMDBG.on', 'ANIMDBG.off' ) dline = dline.replace( 'DebugPrinter.on', 'DebugPrinter.off' ) - # append a 4 spaces indentation to each line - escaped_line = ' %s' % dline + escaped_line = '%s' % dline escaped_line = escaped_line.rstrip() # no more than 2 consecutive empty lines |