From 47fff53459ec6a3ebf72bfd2cc532bac5cf57fdd Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Fri, 15 Oct 2021 14:19:32 -0700 Subject: [PATCH] dnfbase: Handle defaults better --- src/pylorax/dnfbase.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pylorax/dnfbase.py b/src/pylorax/dnfbase.py index 564d87d9..dc82c634 100644 --- a/src/pylorax/dnfbase.py +++ b/src/pylorax/dnfbase.py @@ -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)