Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(0)  |  Derive(0)  |  Import(6)
Returns the context-local system-wide configuration.

        def base_config():
    """
    Returns the context-local system-wide configuration.
    """
    config = _config.top
    if config is None:
        import warnings
        import sys
        if 'nosetests' not in sys.argv[0]:
            warnings.warn("calling un-configured base_config",
                DeprecationWarning, stacklevel=2)
        config = load_default_config()
        config.conf_base_dir = os.getcwd()
        finish_base_config(config)
        _config.push(config)
    return config
        


src/m/a/MapProxy-1.6.0/mapproxy/config/__init__.py   MapProxy(Download)
# limitations under the License.
 
from mapproxy.config.config import (
    base_config, abspath, load_base_config, load_default_config,
    finish_base_config, Options, local_base_config,

src/m/a/mapproxy-HEAD/mapproxy/config/__init__.py   mapproxy(Download)
# limitations under the License.
 
from mapproxy.config.config import (
    base_config, abspath, load_base_config, load_default_config,
    finish_base_config, Options, local_base_config,

src/m/a/MapProxy-1.6.0/mapproxy/service/demo.py   MapProxy(Download)
from collections import defaultdict
 
from mapproxy.config.config import base_config
from mapproxy.exception import RequestError
from mapproxy.service.base import Server

src/m/a/mapproxy-HEAD/mapproxy/service/demo.py   mapproxy(Download)
from collections import defaultdict
 
from mapproxy.config.config import base_config
from mapproxy.exception import RequestError
from mapproxy.service.base import Server

src/m/a/MapProxy-1.6.0/mapproxy/template.py   MapProxy(Download)
import pkg_resources
from mapproxy.util.ext.tempita import Template, bunch
from mapproxy.config.config import base_config
 
__all__ = ['Template', 'bunch', 'template_loader']

src/m/a/mapproxy-HEAD/mapproxy/template.py   mapproxy(Download)
import pkg_resources
from mapproxy.util.ext.tempita import Template, bunch
from mapproxy.config.config import base_config
 
__all__ = ['Template', 'bunch', 'template_loader']