From 4fef0a23a175e64475955a67dd557347cc99f19a Mon Sep 17 00:00:00 2001 From: Jason Kirtland Date: Sat, 29 Mar 2008 15:54:50 +0000 Subject: - Added PendingDeprecationWarning support - Deprecation decorator is now a real decorator --- lib/sqlalchemy/exceptions.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/sqlalchemy/exceptions.py') 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.""" -- cgit v1.2.1