Commit 7ead9575 authored by Guido Trotter's avatar Guido Trotter

Rename _OSOndiskVersion to _OSOndiskAPIVersion

This makes what versions we're talking about clearer.
Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 920b5878
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment