From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [80.91.229.2] (helo=ciao.gmane.org) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1M3wqL-0008Gh-Ka for openembedded-devel@openembedded.org; Tue, 12 May 2009 20:36:45 +0200 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1M3wjp-0004uE-DS for openembedded-devel@openembedded.org; Tue, 12 May 2009 18:30:01 +0000 Received: from s55917625.adsl.wanadoo.nl ([85.145.118.37]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 May 2009 18:30:01 +0000 Received: from k.kooi by s55917625.adsl.wanadoo.nl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 May 2009 18:30:01 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: openembedded-devel@openembedded.org From: Koen Kooi Date: Tue, 12 May 2009 20:29:46 +0200 Message-ID: References: <1242152713-31425-1-git-send-email-marcin@juszkiewicz.com.pl> Mime-Version: 1.0 X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: s55917625.adsl.wanadoo.nl User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b5pre) Gecko/20090427 Shredder/3.0b3pre In-Reply-To: <1242152713-31425-1-git-send-email-marcin@juszkiewicz.com.pl> Sender: news Subject: Re: [STABLE] Updating Python code to work nicer with Python 2.6 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 May 2009 18:36:45 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 12-05-09 20:25, Marcin Juszkiewicz wrote: > Some time ago I fixed BitBake trunk to not generate DeprecationWarnings > when used with Python 2.6. Some time later Richard Purdie backported it > into bitbake-1.8 branch. Now I tested it with stable/2009 and want to > get it inside. > > Patch.bbclass change removes DeprecationWarnings too but has to keep > compatibility with Python 2.4 so I had to use try/except block because > hashlib is 2.5+ Less users pasting those 'errors' to me is always a good thing :) regards, KOen