[spp] [PATCH 2/2] controller: revise error message
ogawa.yasufumi at lab.ntt.co.jp
ogawa.yasufumi at lab.ntt.co.jp
Tue Dec 25 11:17:23 CET 2018
From: Yasufumi Ogawa <ogawa.yasufumi at lab.ntt.co.jp>
This update is to correct wrong formatted error messages.
Signed-off-by: Yasufumi Ogawa <ogawa.yasufumi at lab.ntt.co.jp>
---
src/controller/spp_ctl_client.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/controller/spp_ctl_client.py b/src/controller/spp_ctl_client.py
index f04173b..50cbfae 100644
--- a/src/controller/spp_ctl_client.py
+++ b/src/controller/spp_ctl_client.py
@@ -29,10 +29,10 @@ class SppCtlClient(object):
# TODO(yasufum) revise print message to more appropriate
# for spp.py.
if res.status_code == 400:
- print('Syntax or lexical error, or SPP returns' +
+ print('Syntax or lexical error, or SPP returns ' +
'error for the request.')
elif res.status_code == 404:
- print('URL is not supported, or no SPP process' +
+ print('URL is not supported, or no SPP process ' +
'of client-id in a URL.')
elif res.status_code == 500:
print('System error occured in spp-ctl.')
--
2.7.4
More information about the spp
mailing list