diff mbox series

[v1] framework/exception: fix pylama errors

Message ID 1638792895-2184-1-git-send-email-juraj.linkes@pantheon.tech (mailing list archive)
State Accepted
Headers show
Series [v1] framework/exception: fix pylama errors | expand

Checks

Context Check Description
ci/Intel-dts-suite-test fail Testing issues

Commit Message

Juraj Linkeš Dec. 6, 2021, 12:14 p.m. UTC
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š <juraj.linkes@pantheon.tech>
---
Lijuan, please add additional people to review if needed.
---
 framework/exception.py | 16 ----------------
 1 file changed, 16 deletions(-)

Comments

Tu, Lijuan Jan. 14, 2022, 8:06 a.m. UTC | #1
> -----Original Message-----
> From: Juraj Linkeš <juraj.linkes@pantheon.tech>
> Sent: 2021年12月6日 20:15
> To: Tu, Lijuan <lijuan.tu@intel.com>; ohilyard@iol.unh.edu
> Cc: dts@dpdk.org; Juraj Linkeš <juraj.linkes@pantheon.tech>
> Subject: [PATCH v1] framework/exception: fix pylama errors
> 
> 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š <juraj.linkes@pantheon.tech>

Applied
diff mbox series

Patch

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