Remove sqlite3 in create_db.py
authorPeng Huang <shawn.p.huang@gmail.com>
Mon, 23 Aug 2010 01:54:49 +0000 (09:54 +0800)
committerPeng Huang <shawn.p.huang@gmail.com>
Mon, 23 Aug 2010 01:54:49 +0000 (09:54 +0800)
data/db/android/create_db.py

index bfa69ef..4fff1d0 100755 (executable)
@@ -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;")