dnfbase: Handle defaults better
This commit is contained in:
parent
b855786741
commit
4bf9ce05e3
@ -53,6 +53,8 @@ def get_dnf_base_object(installroot, sources, mirrorlists=None, repos=None,
|
|||||||
return None
|
return None
|
||||||
|
|
||||||
mirrorlists = mirrorlists or []
|
mirrorlists = mirrorlists or []
|
||||||
|
enablerepos = enablerepos or []
|
||||||
|
disablerepos = disablerepos or []
|
||||||
|
|
||||||
# sanitize the repositories
|
# sanitize the repositories
|
||||||
sources = list(sanitize_repo(r) for r in sources)
|
sources = list(sanitize_repo(r) for r in sources)
|
||||||
|
Loading…
Reference in New Issue
Block a user