lint
This commit is contained in:
parent
6376f22cdb
commit
1a873b5ea2
1 changed files with 6 additions and 6 deletions
12
remote.py
12
remote.py
|
@ -8,12 +8,12 @@ import hypertext
|
||||||
ARCHIVE = '.tar.xz'
|
ARCHIVE = '.tar.xz'
|
||||||
ARCHITECTURES = ['x86_64', 'i686']
|
ARCHITECTURES = ['x86_64', 'i686']
|
||||||
ARCHITECTURES_BITS = {
|
ARCHITECTURES_BITS = {
|
||||||
'x86_64': 64,
|
'x86_64': 64,
|
||||||
'i686': 32,
|
'i686': 32,
|
||||||
}
|
}
|
||||||
ARCHITECTURES_SUBSYSTEMS = {
|
ARCHITECTURES_SUBSYSTEMS = {
|
||||||
'x86_64': ['msys', 'clang64', 'mingw64', 'ucrt64'],
|
'x86_64': ['msys', 'clang64', 'mingw64', 'ucrt64'],
|
||||||
'i686': ['msys', 'clang32', 'mingw32'],
|
'i686': ['msys', 'clang32', 'mingw32'],
|
||||||
}
|
}
|
||||||
CHARSET = 'u8'
|
CHARSET = 'u8'
|
||||||
DISTRIBUTION = 'distrib'
|
DISTRIBUTION = 'distrib'
|
||||||
|
@ -64,6 +64,6 @@ class Remote:
|
||||||
for architecture, archive in reversed(sorted(self.archives.items())):
|
for architecture, archive in reversed(sorted(self.archives.items())):
|
||||||
lines.append(f'{architecture} → {archive}')
|
lines.append(f'{architecture} → {archive}')
|
||||||
lines.append('Subsystems:')
|
lines.append('Subsystems:')
|
||||||
for architecture, subsystems in reversed(sorted(self.catalogs.items())):
|
for arch, ss in reversed(sorted(self.catalogs.items())):
|
||||||
lines.append(f'{architecture} → {list(subsystems.keys())}')
|
lines.append(f'{arch} → {list(ss.keys())}')
|
||||||
return os.linesep.join(lines)
|
return os.linesep.join(lines)
|
||||||
|
|
Loading…
Reference in a new issue