Fix backend.GetVolumeList handling of LVM output
authorIustin Pop <iustin@google.com>
Fri, 11 Jul 2008 13:09:03 +0000 (13:09 +0000)
committerIustin Pop <iustin@google.com>
Fri, 11 Jul 2008 13:09:03 +0000 (13:09 +0000)
commitf316dc829471a2c5f9888ea997215d411e3f0c21
treed0cee3c163c37db1d9ade4833bba293be43fbba4
parent4653a0ad1f6e4f9f81dd7fd124b7fdd0b88c48fc
Fix backend.GetVolumeList handling of LVM output

This patch is fix for the case when ‘lvs’ spits out error messages on
stdout. It's just a simple check that we have the needed number of
separators in the line.

Reviewed-by: imsnah
lib/backend.py