On October 17, 2010, Michael Hudson wrote: > On Sun, 17 Oct 2010 12:58:26 +1300, Robert Collins <[email protected]> wrote: > > It has the comment: > > > > class LayerProcessController: > > """Controller for starting and stopping subprocesses. > > > > Layers which need to start and stop a child process appserver or > > > > smtp > > > > server should call the methods in this class, but should NOT > > > > inherit from > > > > this class. > > """ > > > > But its not clear why not? I ask because its directly calling into the > > db test fixture logic - duplicating DatabaseLayer. > > I don't know, but I'd guess that it's paranoia inspired by the odd way > layers handle inheritance. >
Yes, that's the case. If you use it as a mixin, it gets taken into account for the layer running order. -- Francis J. Lacoste [email protected]
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

