def envFileAsDictionary(fname):
    retval = {}
    fp = open(fname, 'r')
    for line in fp:
        line = line.rstrip('\r\n')
        try:
            (k, v) = line.split('=', 1)
        except __HOLE__:
            continue
        retval[k] = v
    return retval
dataset/ETHPy150Open Netflix/gcviz/root/apps/apache/htdocs/AdminGCViz/vmsgcvizutils.py/envFileAsDictionary