Commit 233d06c5 authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix a non-clear error message

Reviewed-by: imsnah
parent a9e0c397
......@@ -795,7 +795,7 @@ def MirrorRemoveChildren(parent_cdev, new_cdevs):
return False
new_bdevs = [_RecursiveFindBD(disk) for disk in new_cdevs]
if new_bdevs.count(None) > 0:
logger.Error("Can't find some devices while doing remove children: %s %s" %
logger.Error("Can't find some devices while removing children: %s %s" %
(new_cdevs, new_bdevs))
return False
parent_bdev.RemoveChildren(new_bdevs)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment