From f9584f44587131acd5017d233b835fd5ef7575db Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 10 Oct 2021 21:34:35 +0200 Subject: [PATCH] remote --- arguments.py | 4 ++-- msys.py | 1 - remote.py | 2 ++ 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/arguments.py b/arguments.py index 8f41486..84fd24b 100644 --- a/arguments.py +++ b/arguments.py @@ -2,7 +2,7 @@ import argparse import os import architecture -import msys +import remote as r import subsystem ACTION = 'action' @@ -75,7 +75,7 @@ compression applying to archive action='info', - remote=msys.REPOSITORY, + remote=r.MAIN, architectures=[architecture.MAIN], subsystems=[subsystem.MAIN, 'mingw'], diff --git a/msys.py b/msys.py index b93f9a4..3314e45 100644 --- a/msys.py +++ b/msys.py @@ -1,2 +1 @@ CHARSET = 'u8' -REPOSITORY = 'https://repo.msys2.org' diff --git a/remote.py b/remote.py index 2939717..47bb8ce 100644 --- a/remote.py +++ b/remote.py @@ -5,6 +5,8 @@ import arguments import hypertext import repository +MAIN = 'https://repo.msys2.org' + class Remote(repository.Repository): def __init__(self):