summaryrefslogtreecommitdiffstats
path: root/scripts2
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2015-09-08 16:24:15 +0800
committerPeng Wu <alexepico@gmail.com>2015-09-08 16:24:15 +0800
commitbfa488b1e2fdd91cf18e7fa9e45d45623a60b8ae (patch)
tree89718a9e2e1e135184cd703426369765c1688e05 /scripts2
parent114466ac12094a9b7950bc1f2e5ffec2975a7240 (diff)
downloadlibpinyin-bfa488b1e2fdd91cf18e7fa9e45d45623a60b8ae.tar.gz
libpinyin-bfa488b1e2fdd91cf18e7fa9e45d45623a60b8ae.tar.xz
libpinyin-bfa488b1e2fdd91cf18e7fa9e45d45623a60b8ae.zip
fixes typo
Diffstat (limited to 'scripts2')
-rw-r--r--scripts2/fullpinyintable.py2
-rw-r--r--scripts2/utils.py3
2 files changed, 1 insertions, 4 deletions
diff --git a/scripts2/fullpinyintable.py b/scripts2/fullpinyintable.py
index 45805ff..c46c1ae 100644
--- a/scripts2/fullpinyintable.py
+++ b/scripts2/fullpinyintable.py
@@ -423,5 +423,5 @@ if __name__ == "__main__":
s = gen_content_table() + gen_pinyin_index() + gen_zhuyin_index()
s = gen_content_table() + gen_luoma_pinyin_index() + gen_secondary_zhuyin_index()
s = gen_hsu_zhuyin_index() + gen_eten26_zhuyin_index()
- s = gen_table_index_for_chewing_key(content_table)
+ s = gen_table_index_for_chewing_key()
print(s)
diff --git a/scripts2/utils.py b/scripts2/utils.py
index c90dd83..767dfa3 100644
--- a/scripts2/utils.py
+++ b/scripts2/utils.py
@@ -21,9 +21,6 @@
# MA 02110-1301, USA.
-import os
-
-
def shuffle_all(instr):
for output in shuffle_recur(instr):
if output == instr: