diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-05-02 01:15:26 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-05-02 01:15:26 +0000 |
commit | 5932e8649d051d2186cd06fb67f3249a11e57638 (patch) | |
tree | 3d2db3fe6b31ac78355409b03bc340cbcc6fe5d5 /lib/sqlalchemy/exceptions.py | |
parent | e3460573d037e27592995277a19840be13457828 (diff) | |
download | sqlalchemy-5932e8649d051d2186cd06fb67f3249a11e57638.tar.gz |
- an unfortunate naming conflict
- needed sql import on and()
Diffstat (limited to 'lib/sqlalchemy/exceptions.py')
-rw-r--r-- | lib/sqlalchemy/exceptions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/exceptions.py b/lib/sqlalchemy/exceptions.py index 747a519f6..43623df93 100644 --- a/lib/sqlalchemy/exceptions.py +++ b/lib/sqlalchemy/exceptions.py @@ -65,7 +65,7 @@ class AssertionError(SQLAlchemyError): class NoSuchColumnError(KeyError, SQLAlchemyError): """Raised by ``RowProxy`` when a nonexistent column is requested from a row.""" -class NoSuchTableError(InvalidRequestError): +class NoReferencedTableError(InvalidRequestError): """Raised by ``ForeignKey`` when the referred ``Table`` cannot be located.""" class DisconnectionError(SQLAlchemyError): |