def LocateOptionalPath(fileName, searchPaths):
    """Like LocatePath, but returns None if the user cancels.
    """
    try:
        return LocatePath(fileName, searchPaths)
    except __HOLE__:
        return None
dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/site-packages/win32/scripts/regsetup.py/LocateOptionalPath