From 86a6d98642676b425962df6b627a690c7b7f689d 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 61cb5ca..e260ad6 100644 --- a/buildbot_nix/__init__.py +++ b/buildbot_nix/__init__.py @@ -347,7 +347,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)