diff --git a/cfbs/cfbs_json.py b/cfbs/cfbs_json.py index be03246c..cb561e79 100644 --- a/cfbs/cfbs_json.py +++ b/cfbs/cfbs_json.py @@ -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"]