From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shards.monkeyblade.net ([184.105.139.130]:45332 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751236AbeBZSbs (ORCPT ); Mon, 26 Feb 2018 13:31:48 -0500 Date: Mon, 26 Feb 2018 13:31:46 -0500 (EST) Message-Id: <20180226.133146.1235269702917262454.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 From: David Miller In-Reply-To: <20180223195735.26999-1-batuhanosmantaskaya@gmail.com> References: <20180223195735.26999-1-batuhanosmantaskaya@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: netdev-owner@vger.kernel.org List-ID: From: BTaskaya 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 Applied to net-next, thanks.