diff options
author | Peng Wu <alexepico@gmail.com> | 2013-11-01 14:29:20 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2013-11-01 14:29:20 +0800 |
commit | cf2720093fe3fae20d2c8378345d2c1c6d970815 (patch) | |
tree | 301a5d910f6d9c910002b7de67e8dcc699905c22 /scripts | |
parent | c36fa19972ca2971903fa5b19e6653fdf1d344f4 (diff) | |
download | libpinyin-cf2720093fe3fae20d2c8378345d2c1c6d970815.tar.gz libpinyin-cf2720093fe3fae20d2c8378345d2c1c6d970815.tar.xz libpinyin-cf2720093fe3fae20d2c8378345d2c1c6d970815.zip |
update scripts
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.data | 2 | ||||
-rw-r--r-- | scripts/utils.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/scripts/Makefile.data b/scripts/Makefile.data index 7929e97..f397d5d 100644 --- a/scripts/Makefile.data +++ b/scripts/Makefile.data @@ -5,7 +5,7 @@ pinyins.txt: python3 genpinyins.py -update-header: +update-header: pinyins.txt python3 genpinyinheader.py > ../src/storage/pinyin_parser_table.h python3 gendoublepinyinheader.py > ../src/storage/double_pinyin_table.h python3 genbopomofoheader.py > ../src/storage/chewing_table.h diff --git a/scripts/utils.py b/scripts/utils.py index 01bdbc7..723f58c 100644 --- a/scripts/utils.py +++ b/scripts/utils.py @@ -39,3 +39,4 @@ def expand_file(filename, get_table_content): print(get_table_content(tablename)) else: print(line) + infile.close() |