def recursively_include(results, directory, patterns):
    for root, subfolders, files in walk(directory):
        for fn in files:
            if not any([glob.fnmatch.fnmatch(fn, pattern) for pattern in patterns]):
                continue
            filename = join(root, fn)
            directory = 'pythonforandroid'
            if results not in directory:
                results[directory] = []
            results[directory].append(join(*filename.split(sep)[1:]))
dataset/ETHPy150Open kivy/python-for-android/setup.py/recursively_include/swapped operands of `not in`