distro/repo.py: fix accidental global variable

This commit is contained in:
InsanePrawn 2023-03-21 20:52:54 +01:00
parent 2ad4690c0a
commit 53ef22d6b8

View file

@ -20,12 +20,12 @@ def resolve_url(url_template, repo_name: str, arch: str):
class RepoInfo:
options: dict[str, str] = {}
options: dict[str, str]
url_template: str
def __init__(self, url_template: str, options: dict[str, str] = {}):
self.url_template = url_template
self.options.update(options)
self.options = {} | options
class Repo(RepoInfo, Generic[BinaryPackageType]):