diff options
author | Peng Huang <shawn.p.huang@gmail.com> | 2010-08-23 09:54:49 +0800 |
---|---|---|
committer | Peng Huang <shawn.p.huang@gmail.com> | 2010-08-23 09:54:49 +0800 |
commit | 8fef79fdf46eb0c9a342c76f79b613540dbf6632 (patch) | |
tree | 73799dfc7d9aba39119f8156eaeadf3cd8a06184 | |
parent | e47965d40f5cf56b15c10aca74fff0e3739c988d (diff) | |
download | ibus-libpinyin-8fef79fdf46eb0c9a342c76f79b613540dbf6632.tar.gz ibus-libpinyin-8fef79fdf46eb0c9a342c76f79b613540dbf6632.tar.xz ibus-libpinyin-8fef79fdf46eb0c9a342c76f79b613540dbf6632.zip |
Remove sqlite3 in create_db.py
-rwxr-xr-x | data/db/android/create_db.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/db/android/create_db.py b/data/db/android/create_db.py index bfa69ef..4fff1d0 100755 --- a/data/db/android/create_db.py +++ b/data/db/android/create_db.py @@ -1,5 +1,4 @@ #!/usr/bin/env python -import sqlite3 from pydict import * from id import * from valid_hanzi import * @@ -29,6 +28,7 @@ def read_phrases(filename): yield hanzi, freq, pinyin def create_db(filename): + # import sqlite3 # con = sqlite3.connect("main.db") # con.execute ("PRAGMA synchronous = NORMAL;") # con.execute ("PRAGMA temp_store = MEMORY;") |