On Tuesday, September 6, 2011 10:27:56 AM UTC-7, Jason wrote:
>
> [...]
>
> This is what I am now doing, but slightly different.
> In the main(global_config, **settings):
> settings.update(global_config)
>
> and then if I want to override something that is in [DEFAULT] I use: 
>
> [DEFAULT]
> x = 1
> [app:app1]
> set x = 2
>
> Using the set key overrides it in the global_conf.
>

I noted this in one of my earlier posts (re: set). Also, the way you're 
updating the settings dict with global_conf will overwrite your app config, 
won't it? I'm pretty sure the DEFAULT config will end up in the settings 
automatically anyway.

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/pylons-discuss/-/mM8z0As_rOwJ.
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