]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: black format exe_utils.py
authorJohn Mulligan <jmulligan@redhat.com>
Wed, 16 Aug 2023 18:05:16 +0000 (14:05 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Wed, 30 Aug 2023 18:02:15 +0000 (14:02 -0400)
Signed-off-by: John Mulligan <jmulligan@redhat.com>
Pair-programmed-with: Adam King <adking@redhat.com>
Co-authored-by: Adam King <adking@redhat.com>
src/cephadm/cephadmlib/exe_utils.py

index 2f7fe82f18678730ee9648217a07f4936af92d97..f5a1075fce5e9114d66c63418ad2595f2c3371f4 100644 (file)
@@ -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.