From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from tama500.ecl.ntt.co.jp (tama500.ecl.ntt.co.jp [129.60.39.148]) by dpdk.org (Postfix) with ESMTP id ADCC01B3A0 for ; Tue, 25 Dec 2018 11:19:36 +0100 (CET) Received: from vc1.ecl.ntt.co.jp (vc1.ecl.ntt.co.jp [129.60.86.153]) by tama500.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id wBPAJZn9003579; Tue, 25 Dec 2018 19:19:35 +0900 Received: from vc1.ecl.ntt.co.jp (localhost [127.0.0.1]) by vc1.ecl.ntt.co.jp (Postfix) with ESMTP id 595FCEA81BD; Tue, 25 Dec 2018 19:19:35 +0900 (JST) Received: from localhost.localdomain (lobster.nslab.ecl.ntt.co.jp [129.60.13.95]) by vc1.ecl.ntt.co.jp (Postfix) with ESMTP id 41415EA8372; Tue, 25 Dec 2018 19:19:35 +0900 (JST) From: ogawa.yasufumi@lab.ntt.co.jp To: ferruh.yigit@intel.com, spp@dpdk.org, ogawa.yasufumi@lab.ntt.co.jp Date: Tue, 25 Dec 2018 19:17:23 +0900 Message-Id: <1545733043-19973-3-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1545733043-19973-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> References: <1545733043-19973-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> X-TM-AS-MML: disable Subject: [spp] [PATCH 2/2] controller: revise error message X-BeenThere: spp@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Soft Patch Panel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Dec 2018 10:19:38 -0000 From: Yasufumi Ogawa This update is to correct wrong formatted error messages. Signed-off-by: Yasufumi Ogawa --- 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