On Thu, 2010-02-04 at 16:38 -0500, Aaron Bentley wrote:
> 
> 2. lp.services.scripts.base imports lp.testing.layers so that
> execute_zcml_for_scripts can ensure we're not running under one.


> 4. stop importing ANONYMOUS from testing.  stop importing from
>    testing.layers.  This is hard, because we have a good reason for
>    importing layers. 

If layers are all defined under testing.layers, you could look in
sys.modules to see if ...testing.layers is imported at all.

-Rob

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Mailing list: https://launchpad.net/~launchpad-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~launchpad-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to