arch done

This commit is contained in:
2021-01-12 04:54:27 -05:00
parent f75e4ee896
commit 4663c3cd02
3 changed files with 302 additions and 1 deletions

View File

@@ -139,8 +139,9 @@ def parseArgs():
help = ('If specified, only include inactive servers (default is active + inactive)'))
return(args)
if __name__ == '__main__':
args = vars(parseArgs().parse_args())
m = MirrorIdx(**args, statuses = True)
for s in m.ranked_servers:
print('Server = {0}$repo/os/$arch'.format(s['url']))
print('Server = {0}$repo/os/$arch'.format(s['url']))