Skip to content

Commit

Permalink
publisher: dump: pass signal args as keyword args
Browse files Browse the repository at this point in the history
Receicvers expect it to be.
  • Loading branch information
enku committed Feb 16, 2025
1 parent df4886d commit 280464e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gentoo_build_publisher/build_publisher.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ def dump(self, builds: Iterable[Build], outfile: IO[bytes]) -> None:
builds.sort(key=lambda build: (build.machine, build.build_id))

for build in builds:
dispatcher.emit("predump", build)
dispatcher.emit("predump", build=build)

with tar.open(fileobj=outfile, mode="w") as tarfile:
# first dump storage
Expand All @@ -270,7 +270,7 @@ def dump(self, builds: Iterable[Build], outfile: IO[bytes]) -> None:
tarfile.addfile(tarinfo, tmp)

for build in builds:
dispatcher.emit("postdump", build)
dispatcher.emit("postdump", build=build)

@staticmethod
def gbp_metadata(
Expand Down

0 comments on commit 280464e

Please sign in to comment.