From: John Mulligan Date: Fri, 1 Nov 2024 18:35:57 +0000 (-0400) Subject: cephadm: fix f-string expression formatting X-Git-Tag: v20.0.0~647^2~10 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f0f7d9b10bc4315290155954bf5d62147c14c6e9;p=ceph.git cephadm: fix f-string expression formatting Fix extra white space found in a f-string that was flagged by a newer version of flake8. Part of an effort to get ceph tox environments passing on Python 3.12. Signed-off-by: John Mulligan --- diff --git a/src/cephadm/cephadmlib/daemon_identity.py b/src/cephadm/cephadmlib/daemon_identity.py index 52a18092bf0b..bfe1a855186d 100644 --- a/src/cephadm/cephadmlib/daemon_identity.py +++ b/src/cephadm/cephadmlib/daemon_identity.py @@ -157,7 +157,7 @@ class DaemonSubIdentity(DaemonIdentity): ) def sidecar_script(self, base_data_dir: Union[str, os.PathLike]) -> str: - sname = f'sidecar-{ self.subcomponent }.run' + sname = f'sidecar-{self.subcomponent}.run' return str(pathlib.Path(self.data_dir(base_data_dir)) / sname) @property