# Make list of mirror_name/url pairs to preserve web_hosts sort.
mirrors.append((parts.group(2), parts.group(1)))
# While we're here, get the US mirrors on their own
- if re.match('<li><a href="(.*)samba.html">USA</a>', line):
- us_mirrors.append(re.match('<li><a href="(.*)samba.html">USA</a>', line).group(1))
+ if re.match('<li><a href="(.*)samba.html">USA (.*)</a>', line):
+ us_mirrors.append(re.match('<li><a href="(.*)samba.html">USA (.*)</a>', line).group(1))
# Write all mirrors to drop-down menu
menu = open('menu_options.html', 'w')