Minor patch

This commit is contained in:
Miroslav Stampar 2013-04-01 22:18:41 +02:00
parent b67f342975
commit 76a0d20799

View File

@ -2462,7 +2462,7 @@ def parseSqliteTableSchema(value):
table = {}
columns = {}
for match in re.finditer(r"(\w+)\s+(TEXT|NUMERIC|INTEGER|REAL|NONE)", value):
for match in re.finditer(r"(\w+)\s+(TEXT|NUMERIC|INTEGER|REAL|NONE)\b", value, re.I):
columns[match.group(1)] = match.group(2)
table[conf.tbl] = columns