Revision 7ead9575
b/lib/backend.py | ||
---|---|---|
1462 | 1462 |
return detail |
1463 | 1463 |
|
1464 | 1464 |
|
1465 |
def _OSOndiskVersion(name, os_dir): |
|
1465 |
def _OSOndiskAPIVersion(name, os_dir):
|
|
1466 | 1466 |
"""Compute and return the API version of a given OS. |
1467 | 1467 |
|
1468 | 1468 |
This function will try to read the API version of the OS given by |
... | ... | |
1569 | 1569 |
else: |
1570 | 1570 |
os_dir = os.path.sep.join([base_dir, name]) |
1571 | 1571 |
|
1572 |
status, api_versions = _OSOndiskVersion(name, os_dir) |
|
1572 |
status, api_versions = _OSOndiskAPIVersion(name, os_dir)
|
|
1573 | 1573 |
if not status: |
1574 | 1574 |
# push the error up |
1575 | 1575 |
return status, api_versions |
Also available in: Unified diff