Revision d00e49f6
b/lib/backend.py | ||
---|---|---|
2369 | 2369 |
@raise RPCFail: in case of failure |
2370 | 2370 |
|
2371 | 2371 |
""" |
2372 |
if not (utils.IsUrl(image) or os.path.exists(image)): |
|
2373 |
_Fail("Image '%s' not found", image) |
|
2374 |
|
|
2372 | 2375 |
try: |
2373 | 2376 |
rdev = _RecursiveFindBD(disk) |
2374 | 2377 |
except errors.BlockDeviceError: |
Also available in: Unified diff