# HG changeset patch # User Daniele Nicolodi # Date 1320429634 -3600 # Node ID 6f1aade052f6e0580507ca79ab41ba67133e7526 # Parent 28debb8307a508ba57c6ada22b4d638725eb3770 White space cleanup. diff -r 28debb8307a5 -r 6f1aade052f6 src/ltpdarepo/upgrade.py --- 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()]