diff --git a/architecture.py b/architecture.py index b7609ba..61f0d84 100644 --- a/architecture.py +++ b/architecture.py @@ -20,6 +20,7 @@ class Architecture: ] return os.linesep.join(lines) + ARCHITECTURES = { X86: Architecture(X86, 64), I86: Architecture(I86, 32), diff --git a/arguments.py b/arguments.py index bf19175..768a5e2 100644 --- a/arguments.py +++ b/arguments.py @@ -82,6 +82,7 @@ compression applying to archive return vars(parser.parse_args()) + D = parse() architectures = D[ARCHITECTURES] diff --git a/subsystem.py b/subsystem.py index d2bbf77..3f34b71 100644 --- a/subsystem.py +++ b/subsystem.py @@ -6,7 +6,7 @@ FAMILIES = [MAIN, 'clang', 'mingw', 'ucrt'] class SubSystem: - def __init__(self, architecture): + def __init__(self, architecture, name): self.architecture = architecture self.name = name