[mirrorbrain-commits] [opensuse-svn] r6369 - trunk/tools/download-redirector-v2/mirrorprobe

From: Novell Forge SVN <noreply_at_novell.com>
Date: Wed, 4 Feb 2009 08:14:00 -0700 (MST)
Author: poeml
Date: 2009-02-04 08:13:57 -0700 (Wed, 04 Feb 2009)
New Revision: 6369

Modified:
   trunk/tools/download-redirector-v2/mirrorprobe/mirrorprobe.py
Log:
mirrorprobe: 
 - change the database query which selects mirrors so it also works with boolean types


Modified: trunk/tools/download-redirector-v2/mirrorprobe/mirrorprobe.py
===================================================================
--- trunk/tools/download-redirector-v2/mirrorprobe/mirrorprobe.py	2009-02-04 15:12:46 UTC (rev 6368)
+++ trunk/tools/download-redirector-v2/mirrorprobe/mirrorprobe.py	2009-02-04 15:13:57 UTC (rev 6369)
_at_@ -218,7 +218,7 @@
         #
         # ignore wildcard mirrors, assuming that they can't be checked by normal means (i.e., baseurl itself may
         # not give a 200. Just some files are served maybe...
-        result = conn.Server.select(AND(conn.Server.q.enabled == 1, conn.Server.q.country != '**'))
+        result = conn.Server.select(AND(conn.Server.q.enabled == '1', conn.Server.q.country != '**'))
         for i in result:
             mirrors.append(i)
 

_______________________________________________
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.org
Received on Wed Feb 04 2009 - 15:14:43 GMT

This archive was generated by hypermail 2.3.0 : Thu Mar 25 2010 - 19:29:04 GMT