We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b156ca9 commit 9c97dcaCopy full SHA for 9c97dca
app/model/devel_feed.py
@@ -60,14 +60,11 @@ def new(d: dict):
60
61
elif d["type"].startswith("PullRequest"):
62
target_url = d["payload"]["pull_request"]["url"]
63
- response = (
64
- cache.get(
65
- target_url,
66
- headers={"Accept": "application/vnd.github.v3+json"},
67
- background_update_interval=_UPDATE_INTERVAL,
68
- cache_expiration_timeout=_CACHE_LIFETIME,
69
- )
70
- or b"[]"
+ response = cache.get(
+ target_url,
+ headers={"Accept": "application/vnd.github.v3+json"},
+ background_update_interval=_UPDATE_INTERVAL,
+ cache_expiration_timeout=_CACHE_LIFETIME,
71
)
72
if not response:
73
return
0 commit comments