[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180226.133146.1235269702917262454.davem@davemloft.net>
Date: Mon, 26 Feb 2018 13:31:46 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: batuhanosmantaskaya@...il.com
Cc: netdev@...r.kernel.org, bjb@...atatu.com
Subject: Re: [PATCH net 1/1] tc: python3, string formattings
From: BTaskaya <batuhanosmantaskaya@...il.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@...il.com>
Applied to net-next, thanks.
Powered by blists - more mailing lists