summaryrefslogtreecommitdiff
path: root/constructor.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2021-08-19 07:40:56 +0200
committerAnthon van der Neut <anthon@mnt.org>2021-08-19 07:40:56 +0200
commit2869dc3337e9becee14b36c2cd28471ee5f579f1 (patch)
tree51ad1317cf12efee98b516eb3ea87e469b749f38 /constructor.py
parentfda42f07ba3c70bf093818ef5e6d04704d7d1f5e (diff)
downloadruamel.yaml-2869dc3337e9becee14b36c2cd28471ee5f579f1.tar.gz
fix issues 389 and 3920.17.11
Diffstat (limited to 'constructor.py')
-rw-r--r--constructor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/constructor.py b/constructor.py
index 7392855..563f07b 100644
--- a/constructor.py
+++ b/constructor.py
@@ -51,7 +51,7 @@ class DuplicateKeyFutureWarning(MarkedYAMLFutureWarning):
pass
-class DuplicateKeyError(MarkedYAMLFutureWarning):
+class DuplicateKeyError(MarkedYAMLError):
pass