Mercurial > hg > ltpdarepo
changeset 168:6f1aade052f6
White space cleanup.
author | Daniele Nicolodi <daniele@grinta.net> |
---|---|
date | Fri, 04 Nov 2011 19:00:34 +0100 |
parents | 28debb8307a5 |
children | a30a7e9186a9 |
files | src/ltpdarepo/upgrade.py |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ltpdarepo/upgrade.py Fri Nov 04 19:00:32 2011 +0100 +++ b/src/ltpdarepo/upgrade.py Fri Nov 04 19:00:34 2011 +0100 @@ -341,10 +341,10 @@ curs.execute("""SELECT CONCAT(table_name, '.', column_name) AS 'foreign key', CONCAT(referenced_table_name, '.', referenced_column_name) AS 'references', constraint_name - FROM information_schema.key_column_usage - WHERE referenced_table_name IS NOT NULL - AND constraint_schema=%s AND table_name=%s AND column_name='obj_id' - ORDER BY constraint_name""", (database, table)) + FROM information_schema.key_column_usage + WHERE referenced_table_name IS NOT NULL + AND constraint_schema=%s AND table_name=%s AND column_name='obj_id' + ORDER BY constraint_name""", (database, table)) return [row[2] for row in curs.fetchall()]