From 464e02c4ba7cf705c7f522a56bdd41f14f88c12f Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Sat, 20 Jul 2024 01:06:23 +0200 Subject: [PATCH] fix(properties): use `getProperty` Signed-off-by: Raito Bezarius --- buildbot_nix/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildbot_nix/__init__.py b/buildbot_nix/__init__.py index 99cc0dc..f119a11 100644 --- a/buildbot_nix/__init__.py +++ b/buildbot_nix/__init__.py @@ -372,7 +372,7 @@ class NixEvalCommand(buildstep.ShellMixin, steps.BuildStep): # run nix-eval-jobs --flake .#$FLAKE_TARGET_ATTRIBUTE_FOR_JOBS to generate the dict of stages cmd: remotecommand.RemoteCommand = yield self.makeRemoteShellCommand() build_props = self.build.getProperties() - project_name = build_props.get('event.project') + project_name = build_props.getProperty('event.project') yield self.runCommand(cmd)