Fix status_info

git-svn-id: https://svn.erp5.org/repos/experimental@2090 bc57dcba-3610-0410-ab4f-dc20bb96b918
parent 0587842b
......@@ -88,9 +88,9 @@ class MobytGateway(XMLObject):
assert len(lines) == 1, "Multi lines response is not managed %s" % lines
line = lines[0]
parts = line.split(' ')
#Remove \n et \r from value
#Format is 'Status Message'
result['status'] = parts[0]
result['status_info'] = parts[1]
result['status_info'] = ' '.join(parts[1:])
return result
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment