Revision 74b4217d lib/backend.py
b/lib/backend.py | ||
---|---|---|
995 | 995 |
def DiagnoseOS(top_dirs=None): |
996 | 996 |
"""Compute the validity for all OSes. |
997 | 997 |
|
998 |
For each name in all the given top directories (if not given defaults i
|
|
999 |
to constants.OS_SEARCH_PATH it will return an object. If this is a valid |
|
998 |
For each name in all the given top directories (if not given defaults |
|
999 |
to constants.OS_SEARCH_PATH) it will return an object. If this is a valid
|
|
1000 | 1000 |
os, the object will be an instance of the object.OS class. If not, |
1001 | 1001 |
it will be an instance of errors.InvalidOS and this signifies that |
1002 | 1002 |
this name does not correspond to a valid OS. |
Also available in: Unified diff