From: "Juraj Linkeš" <juraj.linkes@pantheon.tech>
To: lijuan.tu@intel.com, ohilyard@iol.unh.edu
Cc: dts@dpdk.org, "Juraj Linkeš" <juraj.linkes@pantheon.tech>
Subject: [PATCH v1] framework/pmd_output: fix pylama errors
Date: Wed, 24 Nov 2021 15:12:56 +0100 [thread overview]
Message-ID: <1637763176-5224-1-git-send-email-juraj.linkes@pantheon.tech> (raw)
Pylama found the following errors:
framework/pmd_output.py:80: [E] E0704 The raise statement is not inside an except clause [pylint]
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
---
Lijuan, please add additional people to review if needed.
---
framework/pmd_output.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/framework/pmd_output.py b/framework/pmd_output.py
index e2bf3687..113e85f6 100644
--- a/framework/pmd_output.py
+++ b/framework/pmd_output.py
@@ -77,7 +77,7 @@ class PmdOutput():
"""
core_number = len(self.dut.cores)
if core_number < 2:
- raise
+ raise ValueError(f'Not enough cores on DUT {self.dut}')
else:
self.default_cores = "1S/2C/1T"
--
2.20.1
next reply other threads:[~2021-11-24 14:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-24 14:12 Juraj Linkeš [this message]
2022-01-14 8:00 ` Tu, Lijuan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1637763176-5224-1-git-send-email-juraj.linkes@pantheon.tech \
--to=juraj.linkes@pantheon.tech \
--cc=dts@dpdk.org \
--cc=lijuan.tu@intel.com \
--cc=ohilyard@iol.unh.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).