From 865420ef26ab05ef6f0358a474926f91d2fdf022 Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Wed, 16 Aug 2023 14:05:16 -0400 Subject: [PATCH] cephadm: black format exe_utils.py Signed-off-by: John Mulligan Pair-programmed-with: Adam King Co-authored-by: Adam King --- src/cephadm/cephadmlib/exe_utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cephadm/cephadmlib/exe_utils.py b/src/cephadm/cephadmlib/exe_utils.py index 2f7fe82f18678..f5a1075fce5e9 100644 --- a/src/cephadm/cephadmlib/exe_utils.py +++ b/src/cephadm/cephadmlib/exe_utils.py @@ -8,7 +8,9 @@ from typing import Optional # copied from distutils -def find_executable(executable: str, path: Optional[str] = None) -> Optional[str]: +def find_executable( + executable: str, path: Optional[str] = None +) -> Optional[str]: """Tries to find 'executable' in the directories listed in 'path'. A string listing directories separated by 'os.pathsep'; defaults to os.environ['PATH']. Returns the complete filename or None if not found. -- 2.39.5