diff options
author | nyamatongwe <unknown> | 2003-12-13 23:43:04 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2003-12-13 23:43:04 +0000 |
commit | 74fe043a0038e4583db25854cbf4f340be2c6ce6 (patch) | |
tree | 5565a495965b181a90ec8082046c4c5676c56374 | |
parent | 539433a980725d04ebb28acc5988c34d4e2573f5 (diff) | |
download | scintilla-mirror-74fe043a0038e4583db25854cbf4f340be2c6ce6.tar.gz |
Automatically generated section does not have extra
whitespace at line ends.
-rw-r--r-- | src/LexGen.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/LexGen.py b/src/LexGen.py index d4f1dbf3f..1d11e3566 100644 --- a/src/LexGen.py +++ b/src/LexGen.py @@ -84,7 +84,9 @@ def CopyWithInsertion(input, commentPrefix, retainDefs, *lists): copying = 1 if retainDefs: output.append(line) - return "\n".join(output) + ret = "\n".join(output) + ret = ret.replace(" \n", "\n") + return ret def UpdateFile(filename, updated): """ If the file is different to updated then copy updated |