subsystems

This commit is contained in:
Marc Beninca 2021-10-10 16:27:52 +02:00 committed by Marc Beninca
parent 7033a6189e
commit e9e6994c62
4 changed files with 13 additions and 9 deletions

View file

@ -11,14 +11,13 @@ import repository
class Remote(repository.Repository):
def __init__(self, args):
super().__init__(args[arguments.REMOTE])
self.subsystems = args[arguments.SUBSYSTEMS]
self.load()
def load(self):
archives = {}
c = {}
for architecture in self.architectures:
subsystems = msys.get_subsystems(architecture, self.subsystems)
subsystems = architecture.subsystems.keys()
location = os.path.join(self.location,
msys.get_distribution(architecture))
archives[architecture] = hypertext.HyperText(location).archive