Merge "libvirt: Remove dead code path in method clear_volume"

This commit is contained in:
Jenkins 2015-07-23 13:09:32 +00:00 committed by Gerrit Code Review
commit 051705824e
1 changed files with 0 additions and 3 deletions

View File

@ -237,9 +237,6 @@ def clear_volume(path):
elif volume_clear == 'shred':
utils.execute('shred', '-n3', '-s%d' % volume_size, path,
run_as_root=True)
else:
raise exception.Invalid(_("volume_clear='%s' is not handled")
% volume_clear)
def remove_volumes(paths):