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):