From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id AF53DA034F; Mon, 6 Dec 2021 13:14:59 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A3AE5410E5; Mon, 6 Dec 2021 13:14:59 +0100 (CET) Received: from lb.pantheon.sk (lb.pantheon.sk [46.229.239.20]) by mails.dpdk.org (Postfix) with ESMTP id A3E4140040 for ; Mon, 6 Dec 2021 13:14:57 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lb.pantheon.sk (Postfix) with ESMTP id 3EBB3134296; Mon, 6 Dec 2021 13:14:57 +0100 (CET) X-Virus-Scanned: amavisd-new at siecit.sk Received: from lb.pantheon.sk ([127.0.0.1]) by localhost (lb.pantheon.sk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Cj79L6kisdaf; Mon, 6 Dec 2021 13:14:56 +0100 (CET) Received: from service-node1.lab.pantheon.local (unknown [46.229.239.141]) by lb.pantheon.sk (Postfix) with ESMTP id E6ADC130F7E; Mon, 6 Dec 2021 13:14:55 +0100 (CET) From: =?UTF-8?q?Juraj=20Linke=C5=A1?= To: lijuan.tu@intel.com, ohilyard@iol.unh.edu Cc: dts@dpdk.org, =?UTF-8?q?Juraj=20Linke=C5=A1?= Subject: [PATCH v1] framework/exception: fix pylama errors Date: Mon, 6 Dec 2021 13:14:55 +0100 Message-Id: <1638792895-2184-1-git-send-email-juraj.linkes@pantheon.tech> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Pylama found the following errors: framework/exception.py:131: [E] E0102 class already defined line 115 [pylint] framework/exception.py:143: [E] E0102 class already defined line 127 [pylint] Signed-off-by: Juraj Linkeš --- Lijuan, please add additional people to review if needed. --- framework/exception.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/framework/exception.py b/framework/exception.py index bdedd743..7ae5ea46 100644 --- a/framework/exception.py +++ b/framework/exception.py @@ -128,22 +128,6 @@ class VirtDutConnectException(Exception): pass -class VirtConfigParamException(Exception): - - """ - Virtualizatoin param execution exception. - """ - def __init__(self, param): - self.param = param - - def __str__(self): - return "Faile to execute param [%s]" % (self.param) - - -class VirtDutConnectException(Exception): - pass - - class VirtDutInitException(Exception): def __init__(self, vm_dut): self.vm_dut = vm_dut -- 2.20.1