On Mon, Jan 9, 2012 at 9:21 PM, Michael Merickel <[email protected]> wrote: > The pyramid.paster.get_appsettings(inipath) called as > > get_appsettings('development.ini#myapp') > is implemented as follows: > > from paste.deploy import appconfig > config_name, section = inipath.split('#', 1) > here_dir = os.getcwd() > return appconfig(config_name, name=section, relative_to=here_dir)
Great, I had to to tune some things (appconfig() wanted 'config:development.ini#main' instead of 'development.ini#myapp') but it worked in the end. Many thanks to both of you! -Greg -- 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.
