summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Huang <shawn.p.huang@gmail.com>2010-08-23 09:54:49 +0800
committerPeng Huang <shawn.p.huang@gmail.com>2010-08-23 09:54:49 +0800
commit8fef79fdf46eb0c9a342c76f79b613540dbf6632 (patch)
tree73799dfc7d9aba39119f8156eaeadf3cd8a06184
parente47965d40f5cf56b15c10aca74fff0e3739c988d (diff)
downloadibus-pinyin-8fef79fdf46eb0c9a342c76f79b613540dbf6632.tar.gz
Remove sqlite3 in create_db.py
-rwxr-xr-xdata/db/android/create_db.py2
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;")