• 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
Name
Last commit
Last update
data Loading commit data...
debian Loading commit data...
doc Loading commit data...
etc Loading commit data...
game_data_packager Loading commit data...
runtime Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
COPYING Loading commit data...
Makefile Loading commit data...
configure Loading commit data...
run Loading commit data...