diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-18 18:31:15 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-18 18:32:14 +0000 |
commit | 458bcab4b6245040c664070badf5b639e838ce8d (patch) | |
tree | 06fe8d63190a733e06ff35171079b41b5293edcd /debian/lib | |
parent | Merging debian version 6.7.7-1. (diff) | |
download | linux-458bcab4b6245040c664070badf5b639e838ce8d.tar.xz linux-458bcab4b6245040c664070badf5b639e838ce8d.zip |
Adding workaround for generating debian files with dacite from stable.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/lib')
-rw-r--r-- | debian/lib/python/debian_linux/config_v2.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/lib/python/debian_linux/config_v2.py b/debian/lib/python/debian_linux/config_v2.py index 1c32bc8864..9bc789bfd1 100644 --- a/debian/lib/python/debian_linux/config_v2.py +++ b/debian/lib/python/debian_linux/config_v2.py @@ -129,6 +129,10 @@ class ConfigBase: packages: ConfigPackages = dataclasses.field(default_factory=ConfigPackages) relations: ConfigRelations = dataclasses.field(default_factory=ConfigRelations) + def __post_init__(self): + import copy + self.build = copy.copy(self.build) + def __post_init_hierarchy__(self, path: Path) -> None: ''' Setup path and default config in the complete hierarchy |