diff options
author | Walter Dörwald <walter@livinglogic.de> | 2006-03-31 10:13:10 (GMT) |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2006-03-31 10:13:10 (GMT) |
commit | 5d23f9a8a33324d00d1e73f40f7c07e914b295f1 (patch) | |
tree | 2aca02a8f1dcacb5a8c9df3e7bdde8308c8125be /Tools/unicode | |
parent | a35b05ebd05578d5c9491bd54a4f39735a1c937e (diff) | |
download | cpython-5d23f9a8a33324d00d1e73f40f7c07e914b295f1.zip cpython-5d23f9a8a33324d00d1e73f40f7c07e914b295f1.tar.gz cpython-5d23f9a8a33324d00d1e73f40f7c07e914b295f1.tar.bz2 |
Don't add multiple empty lines at the end of the codec. With this a
regenerated codec should survive reindent.py unchanged.
Diffstat (limited to 'Tools/unicode')
-rw-r--r-- | Tools/unicode/gencodec.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/unicode/gencodec.py b/Tools/unicode/gencodec.py index a31475e..7c7829b 100644 --- a/Tools/unicode/gencodec.py +++ b/Tools/unicode/gencodec.py @@ -348,7 +348,7 @@ def getregentry(): l.extend(encoding_map_code) # Final new-line - l.append('\n') + l.append('') return '\n'.join(l).expandtabs() |