From 6e370a7b5b5849e6905ee595c78ab3f34ba9dcff Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Mon, 15 Dec 2025 09:29:59 +0100 Subject: [PATCH] Solved mirror file writting bug --- src/pkgmgr/actions/repository/create.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkgmgr/actions/repository/create.py b/src/pkgmgr/actions/repository/create.py index 6aeb601..5789b2f 100644 --- a/src/pkgmgr/actions/repository/create.py +++ b/src/pkgmgr/actions/repository/create.py @@ -111,7 +111,7 @@ def _build_default_primary_url(parts: RepoParts) -> str: def _write_default_mirrors(repo_dir: str, primary: str, name: str, preview: bool) -> None: - mirrors = {"origin": primary, "pypi": f"https://pypi.org/project/{name}/"} + mirrors = {primary, f"https://pypi.org/project/{name}/"} write_mirrors_file(repo_dir, mirrors, preview=preview)