diff --git a/python/nav/eventengine/alerts.py b/python/nav/eventengine/alerts.py index 075b394dcf..a9d95c736f 100644 --- a/python/nav/eventengine/alerts.py +++ b/python/nav/eventengine/alerts.py @@ -80,8 +80,6 @@ def __bool__(self): """ return True - __nonzero__ = __bool__ # For PY2 compatibility - def make_alert(self): """Generates an alert object based on the current attributes""" attrs = {}