ceph-disk: cast output of _check_output()

Cast output of _check_output() to str() to be able to use
str.split().

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
Danny Al-Gaaf 2013-05-24 12:41:11 +02:00
parent 9429ff90a0
commit 16ecae153d

View File

@ -789,7 +789,7 @@ def prepare_journal_dev(
'--name={name}'.format(name=os.path.basename(journal)),
],
)
journal_symlink = '/dev/{symlink}-part{num}'.format(symlink=symlinks.split()[2], num=num)
journal_symlink = '/dev/{symlink}-part{num}'.format(symlink=str(symlinks).split()[2], num=num)
journal_dmcrypt = None
if journal_dm_keypath: