Comment 1 for bug 593536

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 593536] [NEW] Test failure: IllegalUseOfScopeReplacer: ScopeReplacer object 'ui' was used incorrectly

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

Vincent Ladeuil wrote:
> Public bug reported:
>
>>From http://babune.ladeuil.net:24842/job/selftest-
> freebsd/lastFailedBuild/testReport/junit/bzrlib.tests.blackbox.test_branch/TestBranchStacked/test_branch_stacked_from_smart_server/
>

I would expect it to be someone (possibly a plugin) doing something like:

lazy_import(globals(), """
from bzrlib.ui import ui_factory
""")

Which is *definitely* a no-no. (Objects don't act nicely when lazily
imported, because you can use them without using an attribute.)

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwXmncACgkQJdeBCYSNAAO+bgCfbh1YU8X+EfugZvvUW22B05Dj
CHQAn0fBMI07ctUHjOo3WYN5XqF2CWD+
=6kRF
-----END PGP SIGNATURE-----