[xmloutput:MERGE] Remove unused imports

Guillermo Gonzalez guillo.gonzo at gmail.com
Mon Mar 9 20:04:55 GMT 2009


Hi!

Aaron, thanks a lot for the patch!

On Mon, Mar 9, 2009 at 9:57 AM, Aaron Bentley <aaron at aaronbentley.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi all,
>
> With the latest bzr.dev, I got this error:
> Traceback (most recent call last):
>  File "/home/abentley/bzr/send-hookage/bzrlib/commands.py", line 923,
> in run_bzr_catch_errors
[snip
]>  File "/home/abentley/.bazaar/plugins/xmloutput/tests/__init__.py",
> line 22, in <module>
>    from bzrlib.tests import (
> ImportError: cannot import name adapt_modules
>
> bzr 1.13dev on python 2.5.2 (linux2)
>
> This error happened because xmloutput imports adapt_modules and Robert
> has removed it.
>
> But it turns out it doesn't use it.  It also imports TestSuite and
> iter_suite_tests, even though it doesn't use them, either.

oops!

>
> So this patch deletes them and reformats the import slightly.

xmloutput isn't under BB control, so I'll merge this manually.

Regards,

Thanks!

>
> Aaron
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkm1BCUACgkQ0F+nu1YWqI1LowCfVrgJYqkJiPNPbE2FyegxvLVG
> WY4An0l7s6TwmCvPM4r1V4T19lSn2MFK
> =5L7I
> -----END PGP SIGNATURE-----
>


--
Guillermo Gonzalez
<http://launchpad.net/~verterok>



More information about the bazaar mailing list