diff options
author | Peng Wu <alexepico@gmail.com> | 2011-12-13 17:37:59 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2011-12-13 17:37:59 +0800 |
commit | 4657987b1aedd94081238d60d48044326419f23b (patch) | |
tree | 76f943cf12356fe4ef1d887df77c11de05db2055 /scripts/chewingkey.py | |
parent | f6d54473773c08e2c083b1ef299d2944bf39af78 (diff) | |
download | libpinyin-4657987b1aedd94081238d60d48044326419f23b.tar.gz libpinyin-4657987b1aedd94081238d60d48044326419f23b.tar.xz libpinyin-4657987b1aedd94081238d60d48044326419f23b.zip |
polish generated code
Diffstat (limited to 'scripts/chewingkey.py')
-rw-r--r-- | scripts/chewingkey.py | 2 |
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) |