From patchwork Mon Dec 6 12:14:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Juraj_Linke=C5=A1?= X-Patchwork-Id: 104925 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org 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_Linke=C5=A1?= To: lijuan.tu@intel.com, ohilyard@iol.unh.edu Cc: dts@dpdk.org, =?utf-8?q?Juraj_Linke=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 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