summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-12-13 17:37:59 +0800
committerPeng Wu <alexepico@gmail.com>2011-12-13 17:37:59 +0800
commit4657987b1aedd94081238d60d48044326419f23b (patch)
tree76f943cf12356fe4ef1d887df77c11de05db2055
parentf6d54473773c08e2c083b1ef299d2944bf39af78 (diff)
downloadlibpinyin-4657987b1aedd94081238d60d48044326419f23b.tar.gz
libpinyin-4657987b1aedd94081238d60d48044326419f23b.tar.xz
libpinyin-4657987b1aedd94081238d60d48044326419f23b.zip
polish generated code
-rw-r--r--scripts/chewingkey.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/chewingkey.py b/scripts/chewingkey.py
index c0d2f05..1372fcb 100644
--- a/scripts/chewingkey.py
+++ b/scripts/chewingkey.py
@@ -140,7 +140,7 @@ def gen_table_index(content_table):
except ValueError:
pass
- entry = '{0} /* {1} */'.format(index, chewingkey)
+ entry = '{0:<7} /* {1} */'.format(index, chewingkey)
entries.append(entry)
return ",\n".join(entries)