From 2411875825b0087127e030715be3849833bbf22a Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Fri, 19 Jul 2024 23:01:17 +0200 Subject: [PATCH] fix(sshkey): `PosixPath` does not play well with Buildbot APIs It expected a `str`, not a `PosixPath`. 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 f43542c..773df5e 100644 --- a/buildbot_nix/__init__.py +++ b/buildbot_nix/__init__.py @@ -832,7 +832,7 @@ class GerritNixConfigurator(ConfiguratorBase): self.gerrit_server = gerrit_server self.gerrit_user = gerrit_user self.gerrit_port = gerrit_port - self.gerrit_sshkey_path = gerrit_sshkey_path + self.gerrit_sshkey_path = str(gerrit_sshkey_path) self.gerrit_config = GerritConfig(domain=self.gerrit_server, username=self.gerrit_user, port=self.gerrit_port)