From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 93-97-173-237.zone5.bethere.co.uk ([93.97.173.237] helo=tim.rpsys.net) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1SrSn8-0001vF-Jb; Wed, 18 Jul 2012 13:51:42 +0200 Received: from localhost (localhost [127.0.0.1]) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id q6IBeNhA024309; Wed, 18 Jul 2012 12:40:23 +0100 Received: from tim.rpsys.net ([127.0.0.1]) by localhost (tim.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 23940-01; Wed, 18 Jul 2012 12:40:19 +0100 (BST) Received: from [192.168.3.10] ([192.168.3.10]) (authenticated bits=0) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id q6IBeF50024303 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 18 Jul 2012 12:40:16 +0100 Message-ID: <1342611618.30680.24.camel@ted> From: Richard Purdie To: Patches and discussions about the oe-core layer Date: Wed, 18 Jul 2012 12:40:18 +0100 In-Reply-To: References: <1342606005.30680.17.camel@ted> X-Mailer: Evolution 3.2.2- Mime-Version: 1.0 X-Virus-Scanned: amavisd-new at rpsys.net Cc: bitbake-devel Subject: Re: [OE-core] PLEASE READ: Major change landing shortly (python whitespace) X-BeenThere: bitbake-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2012 11:51:42 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Wed, 2012-07-18 at 11:17 +0100, Burton, Ross wrote: > On 18 July 2012 11:06, Richard Purdie > wrote: > > I put a proposal to the TSC, that we have bitbake warn/error whenever it > > finds tab characters in any python function. The advantage of this is > > that we give the user a clear definitive error. The downside is that > > we'll have to go through all the metadata and scrub it for the problem. > > Have you ran that warning over oe-core to check that there are not any > legitimate uses of \t, not for indentation but inside strings? I > can't think of any realistic use but you never know (construct a > Makefile in a python function?). The check is for actual tab characters, not "\t". There are some legitimate users of tab characters which I've replaced with \t in strings. My current patch work in progress for the conversion is: http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=rpurdie/t14&id=49d3d01f3d61a0eb19b6852229fa8fc26712f653 Cheers, Richard