

def parse_file(self, fpath):
    "\n        Read a file on the file system (relative to salt's base project dir)\n\n        :returns: A file-like object.\n        :raises IOError: If the file cannot be found or read.\n        "
    sdir = os.path.abspath(os.path.join(os.path.dirname(salt.__file__), os.pardir))
    with open(os.path.join(sdir, fpath), 'rb') as f:
        return f.readlines()

dataset/ETHPy150Open saltstack/salt/doc/_ext/saltdomain.py LiterateCoding.parse_file/original