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)