From ce86fb15e6ce12ae200e6cb445f5da4882054f4c Mon Sep 17 00:00:00 2001 From: Sam Ruby Date: Wed, 18 Oct 2006 10:28:17 -0400 Subject: [PATCH] Continue processing entries even after one is filtered out Thanks: Harry Fuecks --- THANKS | 2 +- planet/spider.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/THANKS b/THANKS index 99e66ae..8a8e207 100644 --- a/THANKS +++ b/THANKS @@ -5,7 +5,7 @@ Jacques Distler - Template patches Michael Koziarski - HTTP Auth fix Brian Ewins - Win32 / Portalocker Joe Gregorio - Invoke same version of Python for filters -Harry Fuecks - Pipe characters in file names +Harry Fuecks - Pipe characters in file names, filter bug Eric van der Vlist - Filters to add language, category information This codebase represents a radical refactoring of Planet 2.0, which lists diff --git a/planet/spider.py b/planet/spider.py index 8fd10bd..da8253b 100644 --- a/planet/spider.py +++ b/planet/spider.py @@ -241,7 +241,8 @@ def spiderFeed(feed): xdoc.unlink() for filter in config.filters(feed): output = shell.run(filter, output, mode="filter") - if not output: return + if not output: break + if not output: continue # write out and timestamp the results write(output, cache_file)