projects
/
ganeti-local
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
920b587
)
Rename _OSOndiskVersion to _OSOndiskAPIVersion
author
Guido Trotter
<ultrotter@google.com>
Wed, 24 Jun 2009 15:14:10 +0000
(16:14 +0100)
committer
Guido Trotter
<ultrotter@google.com>
Fri, 26 Jun 2009 13:45:32 +0000
(14:45 +0100)
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
patch
|
blob
|
history
diff --git
a/lib/backend.py
b/lib/backend.py
index
b0e7e1c
..
5bf45a9
100644
(file)
--- 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