mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-02-23 05:35:44 -05:00
distro.py: don't scan repos by default
This commit is contained in:
parent
f5e6590e29
commit
1d9f8239a0
1 changed files with 2 additions and 2 deletions
|
@ -88,7 +88,7 @@ class Repo(RepoInfo):
|
|||
|
||||
self.scanned = True
|
||||
|
||||
def __init__(self, name: str, url_template: str, arch: str, options={}, scan=True):
|
||||
def __init__(self, name: str, url_template: str, arch: str, options={}, scan=False):
|
||||
self.packages = {}
|
||||
self.name = name
|
||||
self.url_template = url_template
|
||||
|
@ -109,7 +109,7 @@ class Distro:
|
|||
repos: dict[str, Repo]
|
||||
arch: str
|
||||
|
||||
def __init__(self, arch: str, repo_infos: dict[str, RepoInfo], scan=True):
|
||||
def __init__(self, arch: str, repo_infos: dict[str, RepoInfo], scan=False):
|
||||
assert (arch in ARCHES)
|
||||
self.arch = arch
|
||||
self.repos = dict[str, Repo]()
|
||||
|
|
Loading…
Add table
Reference in a new issue