teythoon/afew — pull request #75 by larsks (2014-03-10 14:51:09+00:00)
Title: add missing register_filter function

This patch introduces a decorator, register_filter, that is used to
register a new filter class with afew:

from afew.FilterRegistry import register_filter

@register_filter
class MySpiffyFilter(Filter):
message = 'This filter does amazing things.'