def find_all(filename):
    """ Get all path file names under the path of a given path file name
    Useful in order to get all files and files from image styles
    Used in media delete signal
    http://stackoverflow.com/questions/1724693/find-a-file-in-python
    :param filename: the absolute path file name to use
    :return: a list of all absolute path file names
    """
    path = os.path.dirname(filename)
    name = os.path.basename(filename)
    result = []
    for root, dirs, files in os.walk(path):
        if files in name:
            result.append(os.path.join(root, name))
    return result
dataset/ETHPy150Open Wtower/django-ninecms/ninecms/utils/media.py/find_all/swapped operands of `in`