test suite reviews and discussions
 help / color / mirror / Atom feed
* [PATCH v1] framework/exception: fix pylama errors
@ 2021-12-06 12:14 Juraj Linkeš
  2022-01-14  8:06 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: Juraj Linkeš @ 2021-12-06 12:14 UTC (permalink / raw)
  To: lijuan.tu, ohilyard; +Cc: dts, Juraj Linkeš

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(-)

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: [PATCH v1] framework/exception: fix pylama errors
  2021-12-06 12:14 [PATCH v1] framework/exception: fix pylama errors Juraj Linkeš
@ 2022-01-14  8:06 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2022-01-14  8:06 UTC (permalink / raw)
  To: Juraj Linkeš, ohilyard; +Cc: dts

> -----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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-14  8:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-06 12:14 [PATCH v1] framework/exception: fix pylama errors Juraj Linkeš
2022-01-14  8:06 ` Tu, Lijuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).