From 618d0459eb8da08d3f36be8e04ed7c38440e5717 Mon Sep 17 00:00:00 2001 From: Dominik Ritter Date: Sat, 14 Oct 2023 01:27:02 +0200 Subject: [PATCH] jetbrains: make update script robust against if no channels exist Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com> --- pkgs/applications/editors/jetbrains/update_ides.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/editors/jetbrains/update_ides.py b/pkgs/applications/editors/jetbrains/update_ides.py index 9008906bde75..c15f6d7f2c3f 100755 --- a/pkgs/applications/editors/jetbrains/update_ides.py +++ b/pkgs/applications/editors/jetbrains/update_ides.py @@ -31,6 +31,7 @@ def download_channels(): return { channel["@name"]: channel for product in products + if "channel" in product for channel in one_or_more(product["channel"]) }