summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/exceptions.py
diff options
context:
space:
mode:
authorJason Kirtland <jek@discorporate.us>2008-03-29 15:54:50 +0000
committerJason Kirtland <jek@discorporate.us>2008-03-29 15:54:50 +0000
commit4fef0a23a175e64475955a67dd557347cc99f19a (patch)
treef961af4b2443dd6d1d3cb168cc430fc46447a275 /lib/sqlalchemy/exceptions.py
parent99ed3922678ac050888dad7ca1c2a2195d65e2c0 (diff)
downloadsqlalchemy-4fef0a23a175e64475955a67dd557347cc99f19a.tar.gz
- Added PendingDeprecationWarning support
- Deprecation decorator is now a real decorator
Diffstat (limited to 'lib/sqlalchemy/exceptions.py')
-rw-r--r--lib/sqlalchemy/exceptions.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/sqlalchemy/exceptions.py b/lib/sqlalchemy/exceptions.py
index 7bac05c26..a21a06b49 100644
--- a/lib/sqlalchemy/exceptions.py
+++ b/lib/sqlalchemy/exceptions.py
@@ -157,5 +157,8 @@ class NotSupportedError(DatabaseError):
class SADeprecationWarning(DeprecationWarning):
"""Issued once per usage of a deprecated API."""
+class SAPendingDeprecationWarning(PendingDeprecationWarning):
+ """Issued once per usage of a deprecated API."""
+
class SAWarning(RuntimeWarning):
"""Issued at runtime."""