Allura/allura/lib/helpers.py
def ming_config_from_ini(ini_path):
    """Temporarily swap in a new ming configuration, restoring the previous
    one when the contextmanager exits.

    :param ini_path: Path to ini file containing the ming configuration

    """
    root = pkg_resources.get_distribution('allura').location
    conf = appconfig('config:%s' % os.path.join(root, ini_path))
    with ming_config(**conf):
        yield
Temporarily swap in a new ming configuration, restoring the previous
    one when the contextmanager exits.

    :param ini_path: Path to ini file containing the ming configuration

    
Temporarily swap in a new ming configuration, restoring the previous
one when the contextmanager exits.
Temporarily swap in a new ming configuration restoring the previous one when the contextmanager exits .
def ming_config_from_ini(ini_path):
    root = pkg_resources.get_distribution('allura').location
    conf = appconfig('config:%s' % os.path.join(root, ini_path))
    with ming_config(**conf):
        yield
def ming_config_from_ini ( ini_path ) : root = pkg_resources . get_distribution ( 'allura' ) . location conf = appconfig ( 'config:%s' % os . path . join ( root , ini_path ) ) with ming_config ( ** conf ) : yield
Temporarily swap in a new ming configuration, restoring the previous
one when the contextmanager exits.
Temporarily swap in a new ming configuration restoring the previous one when the contextmanager exits .
"""Temporarily swap in a new ming configuration, restoring the previous
    one when the contextmanager exits.

    :param ini_path: Path to ini file containing the ming configuration

    """
ini_path
Path to ini file containing the ming configuration
Path to ini file containing the ming configuration