Revision 26f15862 lib/cmdlib.py
b/lib/cmdlib.py | ||
---|---|---|
976 | 976 |
lvdata = nresult.get(constants.NV_LVLIST, "Missing LV data") |
977 | 977 |
if isinstance(lvdata, basestring): |
978 | 978 |
feedback_fn(" - ERROR: LVM problem on node %s: %s" % |
979 |
(node, lvdata.encode('string_escape')))
|
|
979 |
(node, utils.SafeEncode(lvdata)))
|
|
980 | 980 |
bad = True |
981 | 981 |
node_volume[node] = {} |
982 | 982 |
elif not isinstance(lvdata, dict): |
Also available in: Unified diff