Just here rewrap into:

```
raise exceptions.InvalidEventFilter(
    "Event filter '%s' is not a subclass of nodewatcher.core.events.base.EventFilter!" % filter.__class__.__name__
) 
```