From 8fef79fdf46eb0c9a342c76f79b613540dbf6632 Mon Sep 17 00:00:00 2001 From: Peng Huang Date: Mon, 23 Aug 2010 09:54:49 +0800 Subject: [PATCH] Remove sqlite3 in create_db.py --- data/db/android/create_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;") -- 2.7.4