def env_loadparm():
    lp = param.LoadParm()
    try:
        lp.load(os.environ["SMB_CONF_PATH"])
    except __HOLE__:
        raise Exception("SMB_CONF_PATH not set")
    return lp
dataset/ETHPy150Open byt3bl33d3r/pth-toolkit/lib/python2.7/site-packages/samba/tests/__init__.py/env_loadparm