[MERGE] Remove unused imports in builtins.py revealed by pyflakes, and fix one undefined name.

Robert Collins robertc at robertcollins.net
Tue Oct 2 07:25:20 BST 2007


On Tue, 2007-10-02 at 15:31 +1000, Andrew Bennetts wrote:
> I temporarily commented out the use of lazy_import in builtins.py, ran pyflakes
> on it, and fixed the problems it reported, and then re-enabled lazy_import.
> This removed a bunch of unused imports.  They don't really cost us much, because
> they are lazy imports, but even so it's nice to remove clutter.  It would be
> nice if pyflakes understood lazy_import directly to make this easier.
> 
> This also found one trivial bug: a reference to BzrCommandError that was
> undefined.

bb:approve

-Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20071002/1e2aebc3/attachment.pgp 


More information about the bazaar mailing list