def get_simplified_dirs(path):
    result = []
    if path:
        path = os.path.dirname(path)
        result.append(path)
        if path.startswith('/private'):
            result.append(path[8:])
        elif (not path.startswith('/tmp')):
            result.append(os.path.dirname(result[0]))
    return result
def get_simplified_dirs(path):
    result = []
    if path:
        path = os.path.dirname(path)
        result.append(path)
        if path.startswith('/private'):
            result.append(path[8:])
        elif (not path.startswith('/tmp')):
            result.append(os.path.dirname(result[0]))
    return result