From 3d1dfadc184814a097103f9846d5b28a2db15cf1 Mon Sep 17 00:00:00 2001 From: Michele Comitini Date: Tue, 30 Oct 2012 17:40:13 +0100 Subject: [PATCH] removed prints --- scripts/extract_sqlite_models.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/extract_sqlite_models.py b/scripts/extract_sqlite_models.py index 73881ac5..3f7ad2a1 100644 --- a/scripts/extract_sqlite_models.py +++ b/scripts/extract_sqlite_models.py @@ -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)