summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2006-03-31 10:13:10 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2006-03-31 10:13:10 (GMT)
commit5d23f9a8a33324d00d1e73f40f7c07e914b295f1 (patch)
tree2aca02a8f1dcacb5a8c9df3e7bdde8308c8125be /Tools
parenta35b05ebd05578d5c9491bd54a4f39735a1c937e (diff)
downloadcpython-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')
-rw-r--r--Tools/unicode/gencodec.py2
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()