On 5/1/06, Max Ischenko <[EMAIL PROTECTED]> wrote:
> My start-spaca.py is a stock script:
> if len(sys.argv) > 1:
>     turbogears.update_config(configfile=sys.argv[1],
>         modulename="spaca.config.app")
> elif os.path.exists(os.path.join(os.path.dirname(__file__), "setup.py")):
>     turbogears.update_config(configfile="dev.cfg",
>         modulename="spaca.config.app")
> else:
>     turbogears.update_config(configfile="prod.cfg",
>         modulename="spaca.config.app")

Note that this is specifically saying to use spaca.config.app. If you
change it to spaca.config, it will use the whole package.

Kevin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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-trunk
-~----------~----~----~----~------~----~------~--~---

Reply via email to