Commit f49a5e02 authored by Alexander Schreiber's avatar Alexander Schreiber
Browse files

Modify GetVolumeList so output on stderr from lvs doesn't break it.

Reviewed-by: imsnah
parent 320b4e2d
......@@ -221,7 +221,7 @@ def GetVolumeList(vg_name):
result.output)
return {}
lvlist = [line.split() for line in result.output.splitlines()]
lvlist = [line.split() for line in result.stdout.splitlines()]
return dict(lvlist)
......
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