summaryrefslogtreecommitdiffstats
path: root/planet/tests/test_command.py
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@archlinux.org>2020-03-05 21:22:17 +0100
committerJelle van der Waa <jelle@archlinux.org>2020-03-05 21:28:37 +0100
commit6c796fce1d0928112f83ea01efe95ab3d24d7fa9 (patch)
treedc00185bd159c9b530c44281ee7b9ebc2c465cdd /planet/tests/test_command.py
parentc41b3dacc7915bf11f5b151bdc2cffea6c5ae659 (diff)
downloadarchweb-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