Skip to content

Commit

Permalink
Merge pull request #169 from olehermanse/validation
Browse files Browse the repository at this point in the history
Fixed crash in cfbs validate for cfbs.json files with provides
  • Loading branch information
olehermanse authored Jan 8, 2024
2 parents 3e5b263 + 40aa712 commit 70ddb63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cfbs/cfbs_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def _find_all_module_objects(self):
modules = []
if "index" in data and type(data["index"]) in (dict, OrderedDict):
modules += data["index"].values()
if "provides" in data and type(data["index"]) in (dict, OrderedDict):
if "provides" in data and type(data["provides"]) in (dict, OrderedDict):
modules += data["provides"].values()
if "build" in data and type(data["build"]):
modules += data["build"]
Expand Down

0 comments on commit 70ddb63

Please sign in to comment.