svn commit: samba-web r739 - in trunk/scripts: .
deryck at samba.org
deryck at samba.org
Thu Jul 7 19:34:10 GMT 2005
Author: deryck
Date: 2005-07-07 19:34:09 +0000 (Thu, 07 Jul 2005)
New Revision: 739
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba-web&rev=739
Log:
Fix the redirect script given the new way USA mirrors are listed.
deryck
Modified:
trunk/scripts/js_redirect.py
Changeset:
Modified: trunk/scripts/js_redirect.py
===================================================================
--- trunk/scripts/js_redirect.py 2005-07-05 03:43:27 UTC (rev 738)
+++ trunk/scripts/js_redirect.py 2005-07-07 19:34:09 UTC (rev 739)
@@ -21,8 +21,8 @@
# 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')
More information about the samba-cvs
mailing list