Revision 13a6c760 lib/backend.py
b/lib/backend.py | ||
---|---|---|
1130 | 1130 |
for bridge in what[constants.NV_BRIDGES] |
1131 | 1131 |
if not utils.BridgeExists(bridge)] |
1132 | 1132 |
|
1133 |
if what.get(constants.NV_FILE_STORAGE_PATHS) == my_name:
|
|
1134 |
result[constants.NV_FILE_STORAGE_PATHS] = \
|
|
1135 |
bdev.ComputeWrongFileStoragePaths()
|
|
1133 |
if what.get(constants.NV_ACCEPTED_STORAGE_PATHS) == my_name:
|
|
1134 |
result[constants.NV_ACCEPTED_STORAGE_PATHS] = \
|
|
1135 |
filestorage.ComputeWrongFileStoragePaths()
|
|
1136 | 1136 |
|
1137 | 1137 |
return result |
1138 | 1138 |
|
... | ... | |
3195 | 3195 |
@return: the normalized path if valid, None otherwise |
3196 | 3196 |
|
3197 | 3197 |
""" |
3198 |
bdev.CheckFileStoragePath(fs_dir)
|
|
3198 |
filestorage.CheckFileStoragePath(fs_dir)
|
|
3199 | 3199 |
|
3200 | 3200 |
return os.path.normpath(fs_dir) |
3201 | 3201 |
|
Also available in: Unified diff