summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/lib/python/debian_linux/dataclasses_deb822.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/lib/python/debian_linux/dataclasses_deb822.py b/debian/lib/python/debian_linux/dataclasses_deb822.py
index 9858296ec4..aa8774939d 100644
--- a/debian/lib/python/debian_linux/dataclasses_deb822.py
+++ b/debian/lib/python/debian_linux/dataclasses_deb822.py
@@ -139,7 +139,7 @@ class Deb822DecodeState(Generic[_DataclassT]):
self.cls = cls
self.fields = {}
- self.ignore_unknown = ignore_unknown
+ self.ignore_unknown = True
for i in dataclasses.fields(cls):
if i.init and (deb822_field := i.metadata.get('deb822')):