--- src/pylorax/yumbase.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/pylorax/yumbase.py b/src/pylorax/yumbase.py index f88c9c1..c411028 100644 --- a/src/pylorax/yumbase.py +++ b/src/pylorax/yumbase.py @@ -31,7 +31,8 @@ def get_yum_base_object(installroot, repositories, mirrorlists=[], def sanitize_repo(repo): if repo.startswith("/"): return "file://{0}".format(repo) - elif repo.startswith("http://") or repo.startswith("ftp://"): + elif (repo.startswith("http://") or repo.startswith("ftp://") + or repo.startswith("file://")): return repo else: return None -- 1.6.6 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list