diff options
author | Emilio Pozuelo Monfort <pochu@debian.org> | 2023-03-20 13:34:27 +0100 |
---|---|---|
committer | Emilio Pozuelo Monfort <pochu@debian.org> | 2023-03-27 10:25:24 +0200 |
commit | 50ddeb9a96b1dbd198e927461f52ccf24122b14e (patch) | |
tree | 886f066d6bcd9af0dc40e2bad74509ba211fea2c /bin | |
parent | 7b5282a4b9f40d9f4ba27153b6ca4146cde548f6 (diff) |
remove-cve-dist-tags: don't call _replace
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/remove-cve-dist-tags | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/remove-cve-dist-tags b/bin/remove-cve-dist-tags index 18db2a0257..170505684b 100755 --- a/bin/remove-cve-dist-tags +++ b/bin/remove-cve-dist-tags @@ -55,7 +55,7 @@ for cve in data: for annotation in cve.annotations if keep_annotation(cve, annotation) ) - cve = cve._replace(annotations=annotations) + cve.annotations=annotations if not cve.annotations: # this shouldn't happen on a normal CVE file as we're only removing # the dist specific tags, but it may happen in an ExtendFile, in |