summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>2013-04-25 16:00:09 +0200
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>2013-04-25 16:00:09 +0200
commit04075722bc412d122ce879edcd46c05e6908dd88 (patch)
tree992f03e37bb51d5933b510a2a01fe5f98d9148e0 /qa
parentc792ea670795b2032003f25d8a024e172933070f (diff)
downloadceph-04075722bc412d122ce879edcd46c05e6908dd88.tar.gz
fix "Instance of 'list' has no 'split' member"
Cast with str() to fix issue. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Diffstat (limited to 'qa')
-rwxr-xr-xqa/workunits/mon/test_mon_config_key.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/workunits/mon/test_mon_config_key.py b/qa/workunits/mon/test_mon_config_key.py
index 2356b2cea0a..93c7f3c6abc 100755
--- a/qa/workunits/mon/test_mon_config_key.py
+++ b/qa/workunits/mon/test_mon_config_key.py
@@ -78,10 +78,10 @@ def run_cmd(cmd, expects=0):
try:
(out, err) = proc.communicate()
if out is not None:
- stdout += out.split('\n')
+ stdout += str(out).split('\n')
cmdlog.debug('stdout: {s}'.format(s=out))
if err is not None:
- stdout += err.split('\n')
+ stdout += str(err).split('\n')
cmdlog.debug('stderr: {s}'.format(s=err))
except ValueError:
ret = proc.wait()