[PATCH v1] framework/exception: fix pylama errors
Juraj Linkeš
juraj.linkes at pantheon.tech
Mon Dec 6 13:14:55 CET 2021
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 at pantheon.tech>
---
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
More information about the dts
mailing list