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

Andrew Bennetts andrew at canonical.com
Tue Oct 2 06:31:48 BST 2007


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.

-Andrew.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr-mail-EvsJq1.patch
Type: text/x-diff
Size: 5886 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20071002/c92ac3cc/attachment.bin 


More information about the bazaar mailing list