From: John Mulligan Date: Wed, 16 Aug 2023 18:05:16 +0000 (-0400) Subject: cephadm: black format exe_utils.py X-Git-Tag: v19.0.0~561^2~8 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=865420ef26ab05ef6f0358a474926f91d2fdf022;p=ceph.git cephadm: black format exe_utils.py Signed-off-by: John Mulligan Pair-programmed-with: Adam King Co-authored-by: Adam King --- diff --git a/src/cephadm/cephadmlib/exe_utils.py b/src/cephadm/cephadmlib/exe_utils.py index 2f7fe82f1867..f5a1075fce5e 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.