From: Mike Bayer Date: Sat, 22 Mar 2008 15:06:28 +0000 (+0000) Subject: reverted r4315 - a basic test works the way it was and fails with this change X-Git-Tag: rel_0_4_5~63 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98f212667ee8e2dc4128e55032f3d39cd5fda30c;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git reverted r4315 - a basic test works the way it was and fails with this change --- diff --git a/lib/sqlalchemy/databases/oracle.py b/lib/sqlalchemy/databases/oracle.py index fc35df2bb7..59497e3226 100644 --- a/lib/sqlalchemy/databases/oracle.py +++ b/lib/sqlalchemy/databases/oracle.py @@ -555,7 +555,7 @@ class OracleDialect(default.DefaultDialect): "all_cons_columns%(dblink)s - does the user have " "proper rights to the table?") % {'dblink':dblink}) continue - refspec = ".".join(x for x in [remote_owner, remote_table, remote_column] if x) + refspec = ".".join([remote_table, remote_column]) schema.Table(remote_table, table.metadata, autoload=True, autoload_with=connection, owner=remote_owner) if local_column not in fk[0]: fk[0].append(local_column)