[v1] framework/exception: fix pylama errors
Checks
Commit Message
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
> -----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
@@ -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