diff options
author | Jason Kirtland <jek@discorporate.us> | 2008-03-29 15:54:50 +0000 |
---|---|---|
committer | Jason Kirtland <jek@discorporate.us> | 2008-03-29 15:54:50 +0000 |
commit | 4fef0a23a175e64475955a67dd557347cc99f19a (patch) | |
tree | f961af4b2443dd6d1d3cb168cc430fc46447a275 /lib/sqlalchemy/exceptions.py | |
parent | 99ed3922678ac050888dad7ca1c2a2195d65e2c0 (diff) | |
download | sqlalchemy-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.py | 3 |
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.""" |