svn commit: samba-web r1196 - in trunk/scripts: .
deryck at samba.org
deryck at samba.org
Thu May 29 21:58:35 GMT 2008
Author: deryck
Date: 2008-05-29 21:58:35 +0000 (Thu, 29 May 2008)
New Revision: 1196
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba-web&rev=1196
Log:
Revert previous change.
We're splitting the traffic between us1 and dp
for the time being.
Modified:
trunk/scripts/js_redirect.py
Changeset:
Modified: trunk/scripts/js_redirect.py
===================================================================
--- trunk/scripts/js_redirect.py 2008-05-29 21:48:38 UTC (rev 1195)
+++ trunk/scripts/js_redirect.py 2008-05-29 21:58:35 UTC (rev 1196)
@@ -37,8 +37,7 @@
js.write('<!-- Hide from old browsers\n')
js.write('randomMirror = new Array;\n')
for i in range(len(us_mirrors)):
- if 'us1' not in us_mirrors[i]:
- js.write('randomMirror[' + str(i) + '] = "' + us_mirrors[i] + '"\n')
+ js.write('randomMirror[' + str(i) + '] = "' + us_mirrors[i] + '"\n')
js.write('\n')
js.write('n = Math.floor(Math.random()*' + str(len(us_mirrors)) + ')\n')
js.write('// end hide -->\n')
More information about the samba-cvs
mailing list