[mirrorbrain-commits] r7866 - /trunk/mirrordoctor/mirrordoctor.py

From: <poeml_at_mirrorbrain.org>
Date: Thu, 26 Nov 2009 20:44:04 -0000
Author: poeml
Date: Thu Nov 26 21:44:03 2009
New Revision: 7866

URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=7866&view=rev
Log:
mb mirrorlist:
- after sorting by region and country, sort by mirror operator name instead of
  priority, which results in a list that actually *looks* sorted.

Modified:
    trunk/mirrordoctor/mirrordoctor.py

Modified: trunk/mirrordoctor/mirrordoctor.py
URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/mirrordoctor/mirrordoctor.py?rev=7866&r1=7865&r2=7866&view=diff
==============================================================================
--- trunk/mirrordoctor/mirrordoctor.py (original)
+++ trunk/mirrordoctor/mirrordoctor.py Thu Nov 26 21:44:03 2009
_at_@ -1030,7 +1030,7 @@
                                                   NOT(self.conn.Server.q.prefixOnly),
                                                   NOT(self.conn.Server.q.asOnly),
                                                   self.conn.Server.q.country != '**'),
-                                              orderBy=['region', 'country', '-score'])
+                                              orderBy=['region', 'country', 'operatorName'])
 
         import mb.mirrorlists
 




_______________________________________________
mirrorbrain-commits mailing list
Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/

Note: To remove yourself from this list, send a mail with the content
 	unsubscribe
to the address mirrorbrain-commits-request_at_mirrorbrain.org
Received on Thu Nov 26 2009 - 20:44:07 GMT

This archive was generated by hypermail 2.3.0 : Mon Feb 20 2012 - 23:47:04 GMT