svn commit: samba-web r455 - in trunk/scripts: .

deryck at samba.org deryck at samba.org
Tue Dec 7 15:20:46 GMT 2004


Author: deryck
Date: 2004-12-07 15:20:45 +0000 (Tue, 07 Dec 2004)
New Revision: 455

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba-web&rev=455

Log:

Don't sort mirrors as jerry will do this in the original script.

--deryck

Modified:
   trunk/scripts/js_redirect.py


Changeset:
Modified: trunk/scripts/js_redirect.py
===================================================================
--- trunk/scripts/js_redirect.py	2004-12-07 13:12:43 UTC (rev 454)
+++ trunk/scripts/js_redirect.py	2004-12-07 15:20:45 UTC (rev 455)
@@ -14,12 +14,9 @@
         # Store as url/mirror_name pairs
         mirrors[parts.group(1)] = parts.group(2)
 
-mlist = mirrors.keys()
-mlist.sort()
-
 # For drop-down mirror selection list
 menu = open('menu_options.html', 'w')
-for m in mlist:
+for m in mirrors.keys():
     menu.write('<option value=' + m + '">' + mirrors[m] + '</option>\n')
 menu.close()
 



More information about the samba-cvs mailing list