From: "Liu, Yong" <yong.liu@intel.com>
To: "zhu,shuai" <shuaix.zhu@intel.com>, dts@dpdk.org
Subject: Re: [dts] [PATCH V1] nics/system_info:Modify the regular match writing.
Date: Wed, 04 Apr 2018 20:45:13 +0800 [thread overview]
Message-ID: <5AC4C8D9.1020400@intel.com> (raw)
In-Reply-To: <1522650314-106859-1-git-send-email-shuaix.zhu@intel.com>
Thanks, shuai. Applied.
On 04/02/2018 02:25 PM, zhu,shuai wrote:
> To match the universality, modify the method of regular matching.
>
> Signed-off-by: zhu,shuai <shuaix.zhu@intel.com>
> ---
> nics/system_info.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/nics/system_info.py b/nics/system_info.py
> index 1f473d8..c813cd4 100644
> --- a/nics/system_info.py
> +++ b/nics/system_info.py
> @@ -77,7 +77,7 @@ class SystemInfo(object):
> Size: 8192 MB Locator: DIMM_A1 Speed: 2133 MHz
> """
> s_regex = r"(\s+)Size: (\d+) MB"
> - l_regex= r"(\s+)Locator: DIMM_(\w+)"
> + l_regex= r"(\s+)Locator: .*_(\w+)"
> speed_regex = r"(\s+)Speed: (.*)"
> size = ""
> locate = ""
prev parent reply other threads:[~2018-04-04 4:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-02 6:25 zhu,shuai
2018-04-04 12:45 ` Liu, Yong [this message]
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=5AC4C8D9.1020400@intel.com \
--to=yong.liu@intel.com \
--cc=dts@dpdk.org \
--cc=shuaix.zhu@intel.com \
/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).