]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
reverted r4315 - a basic test works the way it was and fails with this change
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 22 Mar 2008 15:06:28 +0000 (15:06 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 22 Mar 2008 15:06:28 +0000 (15:06 +0000)
lib/sqlalchemy/databases/oracle.py

index fc35df2bb74c49cf7fae908a080fe4b9bbc7972f..59497e32261d14a4c0340aa817382cd1238f13fe 100644 (file)
@@ -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)