HomePhabricator

get_page_image: Return empty dict rather than None

Tags
None
Referenced Files
None
Subscribers
None

Description

get_page_image: Return empty dict rather than None

Avoid AttributeError: 'NoneType' object has no attribute 'get' by
returning an empty dict rather than a None value when there are no image
values found.

Details

Provenance
bd808Authored on Jun 6 2023, 12:02 AM
Parents
R3254:76d1de66040d: trending_topics: Add custom test behavior
Branches
Unknown
Tags
Unknown
ChangeId
None

Event Timeline