ncolony/beatcheck.py
def parseConfig(opt):
    """Parse configuration

    :params opt: dict-like object with config and messages keys
    :returns: restarter, path
    """
    places = ctllib.Places(config=opt['config'], messages=opt['messages'])
    restarter = functools.partial(ctllib.restart, places)
    path = filepath.FilePath(opt['config'])
    return restarter, path
def parseConfig(opt):
    """Parse configuration

    :params opt: dict-like object with config and messages keys
    :returns: restarter, path
    """
    places = ctllib.Places(config=opt['config'], messages=opt['messages'])
    restarter = functools.partial(ctllib.restart, places)
    path = filepath.FilePath(opt['config'])
    return restarter, path
Parse configuration

    :params opt: dict-like object with config and messages keys
    :returns: restarter, path