From: David Miller <davem@davemloft.net>
To: batuhanosmantaskaya@gmail.com
Cc: netdev@vger.kernel.org, bjb@mojatatu.com
Subject: Re: [PATCH net 1/1] tc: python3, string formattings
Date: Mon, 26 Feb 2018 13:31:46 -0500 (EST) [thread overview]
Message-ID: <20180226.133146.1235269702917262454.davem@davemloft.net> (raw)
In-Reply-To: <20180223195735.26999-1-batuhanosmantaskaya@gmail.com>
From: BTaskaya <batuhanosmantaskaya@gmail.com>
Date: Fri, 23 Feb 2018 22:57:35 +0300
> This patch converts old type string formattings to new type string
> formattings for adapting Linux Traffic Control (tc) unit testing suite
> python3.
>
> Linux Traffic Control (tc) unit testing suite's code quality improved is improved with this patch.
> According to python documentation;
> "The built-in string class provides the ability to do complex variable substitutions and
> value formatting via the format() method described in PEP 3101. "
> but the project was using old type formattings and new type string formattings together,
> this patch's main purpose is converting all old types to new types.
>
> Following files changed:
> 1. tools/testing/selftests/tc-testing/tdc.py
> 2. tools/testing/selftests/tc-testing/tdc_batch.py
>
> Following PEP rules applied:
> 1. PEP8 - Code Styling
> 2. PEP3101 - Advanced Code Formatting
>
> Signed-off-by: Batuhan Osman Taskaya <batuhanosmantaskaya@gmail.com>
Applied to net-next, thanks.
prev parent reply other threads:[~2018-02-26 18:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-23 19:57 [PATCH net 1/1] tc: python3, string formattings BTaskaya
2018-02-26 18:31 ` David Miller [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=20180226.133146.1235269702917262454.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=batuhanosmantaskaya@gmail.com \
--cc=bjb@mojatatu.com \
--cc=netdev@vger.kernel.org \
/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).