[mirrorbrain-commits] r8247 - /trunk/mirrorprobe/mirrorprobe.py

From: <poeml_at_mirrorbrain.org>
Date: Sat, 18 Feb 2012 23:27:54 -0000
Author: poeml
Date: Sun Feb 19 00:27:54 2012
New Revision: 8247

URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=8247&view=rev
Log:
mirrorprobe:
- With a newer combo of Python/SQLObject/FormEncode, mirrorprobe crashed.
  This has been fixed in a backward compatible way, thereby resolving
  issue #88.

Modified:
    trunk/mirrorprobe/mirrorprobe.py

Modified: trunk/mirrorprobe/mirrorprobe.py
URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/mirrorprobe/mirrorprobe.py?rev=8247&r1=8246&r2=8247&view=diff
==============================================================================
--- trunk/mirrorprobe/mirrorprobe.py	(original)
+++ trunk/mirrorprobe/mirrorprobe.py	Sun Feb 19 00:27:54 2012
_at_@ -262,7 +262,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, conn.Server.q.country != '**'))
         for i in result:
             mirrors.append(i)
 




_______________________________________________
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 Sat Feb 18 2012 - 23:27:56 GMT

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