FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Portage Developer

 
 
LinkBack Thread Tools
 
Old 08-15-2008, 06:02 PM
Zac Medico
 
Default Fix warning for lib2to3/fixes/fix_map.py

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ali Polatel wrote:
> 2to3 gives a warning while converting portage codebase using map¹ fix:
> RefactoringTool: Warnings/messages while refactoring:
> RefactoringTool: ### In file ./pym/portage/dbapi/porttree.py ###
> RefactoringTool: Line 266: You should use a for loop here
>
> This is a valid warning because map() will change in py3k. Read the docstring of
> fix_map.py for more information.
>
> ¹: http://svn.python.org/view/python/trunk/Lib/lib2to3/fixes/fix_map.py

Applied, thanks.

- --
Thanks,
Zac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkilxLcACgkQ/ejvha5XGaMC4wCg2/a8N2jZcC8X5wzGon3a0PNE
Mo8AoLks+4IMVXUkAFTVfNGnM0XckT3s
=KvEC
-----END PGP SIGNATURE-----
 

Thread Tools




All times are GMT. The time now is 09:21 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org