removed prints

This commit is contained in:
Michele Comitini
2012-10-30 17:40:13 +01:00
parent 9f2e135e80
commit 3d1dfadc18
-2
View File
@@ -84,9 +84,7 @@ def sqlite(database_name):
for line in sql_lines[1:-1]:
if re.search('KEY', line) or re.search('PRIMARY', line) or re.search('"ID"', line) or line.startswith(')'):
continue
print line
hit = re.search(r'"(\S+)"\s+(\w+(\(\S+\))?),?( .*)?', line)
print hit and hit.groups()
if hit is not None:
name, d_type = hit.group(1), hit.group(2)
d_type = re.sub(r'(\w+)\(.*', r'\1', d_type)