diff options
author | Munyoki Kilyungi | 2024-09-20 16:53:39 +0300 |
---|---|---|
committer | BonfaceKilz | 2024-09-23 12:32:51 +0300 |
commit | f55e7ec4cb7cffbe62a7a81612884e590a82dfa6 (patch) | |
tree | 357771ca2e8ffb4a9b17e779f5987ba6451b0852 /gn3/chancy.py | |
parent | e4634e8cdc1ffdc518993d2aa8534690957ab565 (diff) | |
download | genenetwork3-f55e7ec4cb7cffbe62a7a81612884e590a82dfa6.tar.gz |
Remove one-line if/else statement.
* gn3/db/rdf/wiki.py (__sanitize_result): When fetching pubmed_ids and
categories, default to [] if the key misses, and remove the subsequent
one-line if/else statement.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn3/chancy.py')
0 files changed, 0 insertions, 0 deletions