[PATCH blivet/master] devicelibs.lvm: fix pvmove(src, dest=DESTPATH)
Will Woods
wwoods at redhat.com
Fri Sep 19 19:11:41 UTC 2014
args.extend(str) will treat the str as iterable and append each
individual character to args; should be args.append(str).
---
blivet/devicelibs/lvm.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/blivet/devicelibs/lvm.py b/blivet/devicelibs/lvm.py
index 426794f..87d2639 100644
--- a/blivet/devicelibs/lvm.py
+++ b/blivet/devicelibs/lvm.py
@@ -261,7 +261,7 @@ def pvmove(source, dest=None):
"""
args = ["pvmove"] + _getConfigArgs() + [source]
if dest:
- args.extend(dest)
+ args.append(dest)
try:
lvm(args)
--
1.9.3
More information about the anaconda-patches
mailing list