On 28/05/2009, at 12:16 PM, Mike Lewis wrote:

>
> I set up a special grooming command for my app that requires the
> pylons environment to run, called "refresh" (so I run "paster refresh
> development.ini")
>
> I'm looking for a way to run cProfile on this script. Is there a
> simple way to do so?

I've had to do a similar thing and just enabled profiling at the  
command entry point.

Cheers,
Chris Miles


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to