I'm cleaning up a deployment and ran into something that I don't quite 
understand.

If I apply a `filter-with` in a base.ini file, I can't overwrite (or 
append) any values in a derivied.ini

for example:

base.ini
[app:main]
use = egg:MyApp
foo = bar
filter-with = proxy-prefix
[filter:proxy-prefix]
use = egg:PasteDeploy#prefix

derived.ini
[app:main]
use = config:base.ini#main
foo = biz
                bar = foo

Running `bin/pserve derivied.ini` will not put the foo/bar values into the 
settings.

the `set foo=biz` syntax won't work; and I couldn't get the pipeline 
command to affect this either

the values show up in global_config, set to my_app.main(global_config, 
settings)

does anyone know if it's possible to set up the filtering in a base ini and 
still inherit?

I just migrated the filter into derived.py and everything works as 
expected.  I'd rather de-duplicate this if possible though.

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pylons-discuss/f053eee8-00ba-4b28-81e8-73f60e516266%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to