diff options
author | Jelle van der Waa <jelle@archlinux.org> | 2020-03-05 21:22:17 +0100 |
---|---|---|
committer | Jelle van der Waa <jelle@archlinux.org> | 2020-03-05 21:28:37 +0100 |
commit | 6c796fce1d0928112f83ea01efe95ab3d24d7fa9 (patch) | |
tree | dc00185bd159c9b530c44281ee7b9ebc2c465cdd /planet/tests/test_command.py | |
parent | c41b3dacc7915bf11f5b151bdc2cffea6c5ae659 (diff) | |
download | archweb-6c796fce1d0928112f83ea01efe95ab3d24d7fa9.tar.gz archweb-6c796fce1d0928112f83ea01efe95ab3d24d7fa9.zip |
planet: handle response without 'status'
feedparser's parse method returns an arbitrary dictionary which may or
may not have the HTTP status. Rely on get() to return None if it's
lacking and then return and log a message.
Diffstat (limited to 'planet/tests/test_command.py')
0 files changed, 0 insertions, 0 deletions