> This tracer is installed by the act of importing its module, so the
> install_tracer() call is a no-op.
> 
> Next, you'll need to use set_request_started() before
> LaunchpadStatementTracer will start recording, then you'll need to
> trigger an oops before calling clear_request_started() at the end of
> the interesting bit (or just letting the script end). At least, this
> is how checkwatches does it... which may or may not be a good
> recommendation ;)

Sorted, thanks Gavin.

> See the WorkingBase class in lib/lp/bugs/scripts/checkwatches/base.py
> for some convenience stuff that should be easy to borrow.

My eyes - help, my eyes.

_______________________________________________
Mailing list: https://launchpad.net/~launchpad-dev
Post to     : launchpad-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~launchpad-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to