Allow None as return value for filters
authorThomas Perl <thp@thpinfo.com>
Mon, 16 Aug 2010 20:27:58 +0000 (22:27 +0200)
committerThomas Perl <thp@thpinfo.com>
Mon, 16 Aug 2010 20:27:58 +0000 (22:27 +0200)
commit499b50b0aa60b3581784e7fb79d23b3714982fc9
tree928a848e62234b5cb17eefaa051e448df8e93a1e
parent5a9b22b4397f4cef05386301be6cec6088ee98ce
Allow None as return value for filters

In order to make the filtering mechanism more
robust against user error, urlwatch now accepts
the None value as return value from the filter
function, and interprets it as "don't filter".
examples/hooks.py.example
lib/urlwatch/handler.py