dnfbase: Handle defaults better

This commit is contained in:
Brian C. Lane 2021-10-15 14:19:32 -07:00
parent 1adbeef14c
commit c811ba98d4

View File

@ -53,6 +53,8 @@ def get_dnf_base_object(installroot, sources, mirrorlists=None, repos=None,
return None
mirrorlists = mirrorlists or []
enablerepos = enablerepos or []
disablerepos = disablerepos or []
# sanitize the repositories
sources = list(sanitize_repo(r) for r in sources)