Skip to content

Commit f050234

Browse files
committed
add parsing of the packages.conda key
1 parent a7cbcc3 commit f050234

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

ext/repo_conda.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,10 @@ parse_main(struct parsedata *pd, struct solv_jsonparser *jp)
163163
type = parse_packages(pd, jp);
164164
if (type == JP_ARRAY && !strcmp("packages", jp->key))
165165
type = parse_packages2(pd, jp);
166+
if (type == JP_OBJECT && !strcmp("packages.conda", jp->key))
167+
type = parse_packages(pd, jp);
168+
if (type == JP_ARRAY && !strcmp("packages.conda", jp->key))
169+
type = parse_packages2(pd, jp);
166170
else
167171
type = jsonparser_skip(jp, type);
168172
}

0 commit comments

Comments
 (0)