This commit is contained in:
Mike Place 2016-10-05 19:51:21 +09:00
parent 13eb463bd9
commit 3c93134e57
No known key found for this signature in database
GPG key ID: 9136F4F13705CFD3

View file

@ -82,7 +82,7 @@ def show_link(name):
try:
with salt.utils.fopen(path, 'rb') as r_file:
return r_file.readlines()[1],rstrip('\n')
return r_file.readlines()[1].rstrip('\n')
except OSError:
log.error(
'alternatives: {0} does not exist'.format(name)