summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/exceptions.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2008-05-02 01:15:26 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2008-05-02 01:15:26 +0000
commit5932e8649d051d2186cd06fb67f3249a11e57638 (patch)
tree3d2db3fe6b31ac78355409b03bc340cbcc6fe5d5 /lib/sqlalchemy/exceptions.py
parente3460573d037e27592995277a19840be13457828 (diff)
downloadsqlalchemy-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.py2
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):