Author: poeml Date: 2009-02-11 12:18:09 -0700 (Wed, 11 Feb 2009) New Revision: 6435 Modified: trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py Log: mb mirrorlist: make selection of enabled mirror work with boolean field types Modified: trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py =================================================================== --- trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py 2009-02-11 16:45:44 UTC (rev 6434) +++ trunk/tools/download-redirector-v2/mirrordoctor/mirrordoctor.py 2009-02-11 19:18:09 UTC (rev 6435) _at_@ -695,7 +695,7 @@ mirrors = mb.conn.servers_match(self.conn.Server, args[0]) else: from sqlobject.sqlbuilder import AND - mirrors = self.conn.Server.select(AND(self.conn.Server.q.enabled == 1, + mirrors = self.conn.Server.select(AND(self.conn.Server.q.enabled, self.conn.Server.q.country != '**'), orderBy=['region', 'country', '-score']) _______________________________________________ Opensuse-svn mailing list Opensuse-svn_at_forge.novell.com http://forge.novell.com/mailman/listinfo/opensuse-svn _______________________________________________ mirrorbrain-commits mailing list Note: To remove yourself from this list, send a mail with the content unsubscribe to the address mirrorbrain-commits-request_at_mirrorbrain.orgReceived on Wed Feb 11 2009 - 19:18:51 GMT
This archive was generated by hypermail 2.3.0 : Thu Mar 25 2010 - 19:29:04 GMT