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

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)
Convert path to absolute path. Uses ``conf_base_dir`` as base, if
path is relative and ``base_path`` is not set.

        def abspath(path, base_path=None):
    """
    Convert path to absolute path. Uses ``conf_base_dir`` as base, if
    path is relative and ``base_path`` is not set.
    """
    if base_path:
        return os.path.abspath(os.path.join(base_path, path))
    return os.path.join(base_config().conf_base_dir, path)
        


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,