gnu: Fix KeyError exception due to missing field in JSON data
Latest GNU JSON listing is missing the contents field for a directory so a KeyError exception was raised by the lister.
Showing
- swh/lister/gnu/tests/data/https_ftp.gnu.org/tree.json.gz 0 additions, 0 deletionsswh/lister/gnu/tests/data/https_ftp.gnu.org/tree.json.gz
- swh/lister/gnu/tests/data/tree.json 2 additions, 1 deletionswh/lister/gnu/tests/data/tree.json
- swh/lister/gnu/tree.py 5 additions, 3 deletionsswh/lister/gnu/tree.py
No preview for this file type
Please register or sign in to comment