Revision 691744c4 lib/backend.py
b/lib/backend.py | ||
---|---|---|
811 | 811 |
"vg_free": int(round(float(valarr[1]), 0)), |
812 | 812 |
"pv_count": int(valarr[2]), |
813 | 813 |
} |
814 |
except ValueError, err:
|
|
814 |
except (TypeError, ValueError), err:
|
|
815 | 815 |
logging.exception("Fail to parse vgs output") |
816 | 816 |
else: |
817 | 817 |
logging.error("vgs output has the wrong number of fields (expected" |
Also available in: Unified diff