summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/util
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2011-06-22 11:45:28 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2011-06-22 11:45:28 -0400
commite821573a2470d42c3caa8988b93503353b1a5da2 (patch)
treef27b1c651b4cd59ee1c7eca1d344364e0260b6c9 /lib/sqlalchemy/util
parent7173d11ba2ad2275951c973a784b9f28396dea90 (diff)
downloadsqlalchemy-e821573a2470d42c3caa8988b93503353b1a5da2.tar.gz
- Added mixin class sqlalchemy.ext.DontWrapMixin.
User-defined exceptions of this type are never wrapped in StatementException when they occur in the context of a statement execution. - StatementException wrapping will display the original exception class in the message.
Diffstat (limited to 'lib/sqlalchemy/util')
-rw-r--r--lib/sqlalchemy/util/langhelpers.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/sqlalchemy/util/langhelpers.py b/lib/sqlalchemy/util/langhelpers.py
index ba612bc2c..e9213845b 100644
--- a/lib/sqlalchemy/util/langhelpers.py
+++ b/lib/sqlalchemy/util/langhelpers.py
@@ -53,7 +53,6 @@ def decorator(target):
return update_wrapper(decorate, target)
-
def get_cls_kwargs(cls):
"""Return the full set of inherited kwargs for the given `cls`.