From 7ead9575900faba8912ac68a188847918b5085a9 Mon Sep 17 00:00:00 2001 From: Guido Trotter <ultrotter@google.com> Date: Wed, 24 Jun 2009 16:14:10 +0100 Subject: [PATCH] Rename _OSOndiskVersion to _OSOndiskAPIVersion This makes what versions we're talking about clearer. Signed-off-by: Guido Trotter <ultrotter@google.com> Reviewed-by: Iustin Pop <iustin@google.com> --- lib/backend.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/backend.py b/lib/backend.py index b0e7e1c80..5bf45a918 100644 --- a/lib/backend.py +++ b/lib/backend.py @@ -1462,7 +1462,7 @@ def _ErrnoOrStr(err): return detail -def _OSOndiskVersion(name, os_dir): +def _OSOndiskAPIVersion(name, os_dir): """Compute and return the API version of a given OS. This function will try to read the API version of the OS given by @@ -1569,7 +1569,7 @@ def _TryOSFromDisk(name, base_dir=None): else: os_dir = os.path.sep.join([base_dir, name]) - status, api_versions = _OSOndiskVersion(name, os_dir) + status, api_versions = _OSOndiskAPIVersion(name, os_dir) if not status: # push the error up return status, api_versions -- GitLab