diff options
Diffstat (limited to 'www-misc/mirrorbrain/files/0001-mirrorprobe-fix-str-int-issue.patch')
-rw-r--r-- | www-misc/mirrorbrain/files/0001-mirrorprobe-fix-str-int-issue.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/www-misc/mirrorbrain/files/0001-mirrorprobe-fix-str-int-issue.patch b/www-misc/mirrorbrain/files/0001-mirrorprobe-fix-str-int-issue.patch new file mode 100644 index 0000000..1caad5d --- /dev/null +++ b/www-misc/mirrorbrain/files/0001-mirrorprobe-fix-str-int-issue.patch @@ -0,0 +1,26 @@ +From 2834ba64a6eb9ae25ee8eaae4587e6e88755e145 Mon Sep 17 00:00:00 2001 +From: Jeremy Olexa <darkside@gentoo.org> +Date: Mon, 17 Oct 2011 20:01:38 +0000 +Subject: [PATCH] mirrorprobe: fix str->int issue + +http://mirrorbrain.org/issues/issue88 +--- + mirrorprobe/mirrorprobe.py | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/mirrorprobe/mirrorprobe.py b/mirrorprobe/mirrorprobe.py +index fd7ac68..7f42bed 100755 +--- a/mirrorprobe/mirrorprobe.py ++++ b/mirrorprobe/mirrorprobe.py +@@ -262,7 +262,7 @@ def main(): + # + # 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) + +-- +1.7.3.4 + |