diff options
author | Jason Kirtland <jek@discorporate.us> | 2008-04-02 10:39:06 +0000 |
---|---|---|
committer | Jason Kirtland <jek@discorporate.us> | 2008-04-02 10:39:06 +0000 |
commit | a0000075437370ae23d0db48c706a4237f4e43f3 (patch) | |
tree | 3dfabc1f2abd6f0b122cea10b4bd41c89dd6b054 /lib | |
parent | c08c6c2185833954f82b046dd4de15a55aaebfe4 (diff) | |
download | sqlalchemy-a0000075437370ae23d0db48c706a4237f4e43f3.tar.gz |
- More 2.4 generator squashing.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sqlalchemy/databases/oracle.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/databases/oracle.py b/lib/sqlalchemy/databases/oracle.py index c601ad4e3..b23ec06e5 100644 --- a/lib/sqlalchemy/databases/oracle.py +++ b/lib/sqlalchemy/databases/oracle.py @@ -552,7 +552,7 @@ class OracleDialect(default.DefaultDialect): refspec = ".".join([remote_table, remote_column]) t = schema.Table(remote_table, table.metadata, autoload=True, autoload_with=connection, oracle_resolve_synonyms=resolve_synonyms, useexisting=True) else: - refspec = ".".join(x for x in [remote_owner, remote_table, remote_column] if x) + refspec = ".".join([x for x in [remote_owner, remote_table, remote_column] if x]) t = schema.Table(remote_table, table.metadata, autoload=True, autoload_with=connection, schema=remote_owner, oracle_resolve_synonyms=resolve_synonyms, useexisting=True) if local_column not in fk[0]: |