Fixed: when putting in new code, missed there was a _idx instead of idx. This caused splittery.py to crash.

This commit is contained in:
Stephen Smoogen 2022-05-28 14:51:56 -04:00
parent c10120cea2
commit 618f0501d5

View file

@ -93,7 +93,7 @@ def _get_modulemd(directory=None, repo_info=None):
sys.exit(1)
with openfunc(filename=myfile, mode='r') as zipf:
mmdcts = zipf.read().decode('utf-8')
res, failures = idx.update_from_string(mmdcts, True)
res, failures = _idx.update_from_string(mmdcts, True)
if len(failures) != 0:
raise Exception("YAML FAILURE: FAILURES: %s" % failures)
if not res: