• 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>
      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)
data.py 24.7 KB