@classmethod
    def iterate_dir(cls, path, files, directories):
        abs_static_path = get_absolute_path(path)

        for file_name in listdir(abs_static_path):
            if os.path.isdir(os.path.join(abs_static_path, file_name)) != True:
                #file_name is not directory
                parts = path.split('/')
                if len(parts) > 2:
                    directory = parts[-1]
                else:
                    directory = ''

                files.append(_File(file_name, file_name, directory, os.path.join(abs_static_path, file_name)))
            else:
                if directories not in file_name:
                    directories[file_name] = _File(file_name)

        return directories.values() + files

    #get the assets not on the mapping table directly from staticmax/ directory
dataset/ETHPy150Open turbulenz/turbulenz_local/turbulenz_local/models/game.py/Game.iterate_dir/swapped operands of `not in`