From 7570453bc245d53bd17e43440b86ae1d37e30bfd Mon Sep 17 00:00:00 2001 From: Corentin Chary Date: Mon, 22 Aug 2011 10:47:21 +0200 Subject: [PATCH] euscan: fix a bug and add another exception Signed-off-by: Corentin Chary --- euscan | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/euscan b/euscan index 4348aac..75be3f1 100755 --- a/euscan +++ b/euscan @@ -65,7 +65,8 @@ BRUTEFORCE_BLACKLIST_PACKAGES = [ BRUTEFORCE_BLACKLIST_URLS = [ 'http://(.*)dockapps.org/download.php/id/(.*)', # infinite loop - 'http://hydra.nixos.org/build/(.*)' # infinite loop + 'http://hydra.nixos.org/build/(.*)', # infinite loop + 'http://www.rennings.net/gentoo/distfiles/(.*)' # Doesn't respect 404, infinite loop ] def htop_vercmp(a, b): @@ -369,7 +370,7 @@ def scan_directory_recursive(cpv, url, steps, vmin, vmax, output): versions.append((path, version)) if steps: - ret = scan_directory_recursive(path, steps, vmin, vmax, output) + ret = scan_directory_recursive(cpv, path, steps, vmin, vmax, output) versions.extend(ret) return versions