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)


On Mon, Jan 9, 2012 at 2:17 PM, Jason <[email protected]> wrote:

> I think you can use the method described here
> http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/commandline.html#writing-a-script
>
>  --
> 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/-/_IZ_JUbo-EcJ.
>
> 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.
>

-- 
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.

Reply via email to