On 5/15/07, beejoy <[EMAIL PROTECTED]> wrote:
>
> I add a line at the top of project start file: start-sample.py:
> print "executing start-sample.py"
>
> but I found that this line is printed twice when run the start-
> sample.py,

This is a FAQ:  http://docs.turbogears.org/FAQ#q-019

When running a "development" configuration, TG runs two copies of the
process: one to actually serve pages, and one to detect when you've
made changes to your code and restart the first process.

-- 
Tim Lesher <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to