• Simon McVittie's avatar
    WantedFile.provides_files: initialize to empty set, not None · 3b813063
    Simon McVittie authored
    Otherwise, iterating over them can lead to this error:
    
    Traceback (most recent call last):
      File "tools/check_syntax.py", line 26, in <module>
        game.load_file_data()
      File "game_data_packager/__init__.py", line 710, in load_file_data
        for provided in f.provides_files:
    TypeError: 'NoneType' object is not iterable
    
    (cherry picked from commit 61bd889a)
    3b813063
data.py 24.7 KB