projects
/
platform
/
upstream
/
ibus-libpinyin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e47965d
)
Remove sqlite3 in create_db.py
author
Peng Huang
<shawn.p.huang@gmail.com>
Mon, 23 Aug 2010 01:54:49 +0000
(09:54 +0800)
committer
Peng Huang
<shawn.p.huang@gmail.com>
Mon, 23 Aug 2010 01:54:49 +0000
(09:54 +0800)
data/db/android/create_db.py
patch
|
blob
|
history
diff --git
a/data/db/android/create_db.py
b/data/db/android/create_db.py
index
bfa69ef
..
4fff1d0
100755
(executable)
--- 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;")