From 5f6ebd2f035b5a53125ec23315d5c9fc06b592b1 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Wed, 16 Oct 2024 21:35:35 +0200 Subject: [PATCH] Avoid unnecessary parameters which will eventually get removed (#635) * Avoid unnecessary parameters which will eventually get removed. * Add changelog. --- changelogs/fragments/635-changelog.yml | 2 ++ src/antsibull_build/changelog.py | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 changelogs/fragments/635-changelog.yml diff --git a/changelogs/fragments/635-changelog.yml b/changelogs/fragments/635-changelog.yml new file mode 100644 index 00000000..4f351086 --- /dev/null +++ b/changelogs/fragments/635-changelog.yml @@ -0,0 +1,2 @@ +minor_changes: + - "Adjust to upcoming changes in antsibull-changelog by removing superfluous parameters (https://github.com/ansible-community/antsibull-build/pull/635)." diff --git a/src/antsibull_build/changelog.py b/src/antsibull_build/changelog.py index efa6a006..d3a0a8e5 100644 --- a/src/antsibull_build/changelog.py +++ b/src/antsibull_build/changelog.py @@ -73,9 +73,7 @@ def __init__( self.config = config self.changes = changes self.generator_flatmap = flatmap - self.generator = ChangelogGenerator( - self.config, self.changes, plugins=None, fragments=None, flatmap=flatmap - ) + self.generator = ChangelogGenerator(self.config, self.changes, flatmap=flatmap) @classmethod def collection(