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
|
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.packages = {}
|
||||||
self.name = name
|
self.name = name
|
||||||
self.url_template = url_template
|
self.url_template = url_template
|
||||||
|
@ -109,7 +109,7 @@ class Distro:
|
||||||
repos: dict[str, Repo]
|
repos: dict[str, Repo]
|
||||||
arch: str
|
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)
|
assert (arch in ARCHES)
|
||||||
self.arch = arch
|
self.arch = arch
|
||||||
self.repos = dict[str, Repo]()
|
self.repos = dict[str, Repo]()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue