diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-09-06 04:21:40 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-09-06 04:21:40 +0000 |
commit | a3bb8431c97577d11974be5fb53c0c7482758888 (patch) | |
tree | fa2cb3cd28e1224145d9bc7d0cdd1a6986d6d97f /cfgv.py | |
parent | Adding upstream version 3.3.0. (diff) | |
download | cfgv-a3bb8431c97577d11974be5fb53c0c7482758888.tar.xz cfgv-a3bb8431c97577d11974be5fb53c0c7482758888.zip |
Adding upstream version 3.3.1.upstream/3.3.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'cfgv.py')
-rw-r--r-- | cfgv.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -31,7 +31,7 @@ def validate_context(msg): yield except ValidationError as e: _, _, tb = sys.exc_info() - raise ValidationError(e, ctx=msg).with_traceback(tb) + raise ValidationError(e, ctx=msg).with_traceback(tb) from None @contextlib.contextmanager @@ -40,7 +40,7 @@ def reraise_as(tp): yield except ValidationError as e: _, _, tb = sys.exc_info() - raise tp(e).with_traceback(tb) + raise tp(e).with_traceback(tb) from None def _dct_noop(self, dct): |