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
@@ -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-requ...@mirrorbrain.org

Reply via email to