Remove make_config()
from root namespace
i forget why..but this was causing some sort of problem. should have noted it at the time.. :(
This commit is contained in:
parent
658fbe3646
commit
4350704996
|
@ -40,9 +40,9 @@ Create a config file, e.g. ``my.conf``:
|
||||||
|
|
||||||
In your app, load the config and reference its values as needed::
|
In your app, load the config and reference its values as needed::
|
||||||
|
|
||||||
import wuttjamaican as wj
|
from wuttjamaican.conf import make_config
|
||||||
|
|
||||||
config = wj.make_config('/path/to/my.conf')
|
config = make_config('/path/to/my.conf')
|
||||||
|
|
||||||
config.get('foo.bar') # returns 'A'
|
config.get('foo.bar') # returns 'A'
|
||||||
|
|
||||||
|
|
|
@ -22,18 +22,6 @@
|
||||||
################################################################################
|
################################################################################
|
||||||
"""
|
"""
|
||||||
WuttJamaican - base package for Wutta Framework
|
WuttJamaican - base package for Wutta Framework
|
||||||
|
|
||||||
There is just one function exposed in the root namespace:
|
|
||||||
:func:`~wuttjamaican.conf.make_config()`
|
|
||||||
|
|
||||||
Typical usage is something like::
|
|
||||||
|
|
||||||
import wuttjamaican as wj
|
|
||||||
|
|
||||||
config = wj.make_config(appname='poser')
|
|
||||||
app = config.get_app()
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from ._version import __version__
|
from ._version import __version__
|
||||||
|
|
||||||
from .conf import make_config
|
|
||||||
|
|
Loading…
Reference in a new issue