def _procfile(filename):
    try:
        with open(filename) as f:
            content = f.read()
    except IOError:
        raise CommandError('Procfile does not exist or is not a file')

    try:
        procfile = environ.parse_procfile(content)
    except __HOLE__ as e:
        raise CommandError(str(e))

    return procfile
dataset/ETHPy150Open nickstenning/honcho/honcho/command.py/_procfile