From 5d0fe286222efaa68c41e5226803f8281cb33d81 Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Thu, 1 Nov 2007 17:22:55 +0000 Subject: [PATCH] Whitespace fixes Reviewed-by: ultrotter --- lib/backend.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/backend.py b/lib/backend.py index e201e7697..2719ab3c7 100644 --- a/lib/backend.py +++ b/lib/backend.py @@ -916,6 +916,7 @@ def _ErrnoOrStr(err): detail = str(err) return detail + def _OSSearch(name, search_path=None): """Search for OSes with the given name in the search_path. @@ -927,7 +928,6 @@ def _OSSearch(name, search_path=None): The base_dir the OS resides in """ - if search_path is None: search_path = constants.OS_SEARCH_PATH @@ -938,6 +938,7 @@ def _OSSearch(name, search_path=None): return None + def _OSOndiskVersion(name, os_dir): """Compute and return the API version of a given OS. @@ -948,7 +949,6 @@ def _OSOndiskVersion(name, os_dir): case when this is not a valid OS name. """ - api_file = os.path.sep.join([os_dir, "ganeti_api_version"]) try: -- GitLab