listener/normal/notifications/listeners.py
def default_notification(instance, **kw):
    """ Given an error see if we need to send a notification """
    log("Firing signal: default_notification")

    if instance.priority >= 5:
        return

    users = approved_users()
    if not users.count():
        return
    
    notification = Notification()
    notification.notifier = instance
    notification.save()
    for user in users:
        notification.user.add(user)
 Given an error see if we need to send a notification 
Given an error see if we need to send a notification
Given an error see if we need to send a notification
def default_notification(instance, **kw):
    log("Firing signal: default_notification")
    if instance.priority >= 5:
        return
    users = approved_users()
    if not users.count():
        return
    notification = Notification()
    notification.notifier = instance
    notification.save()
    for user in users:
        notification.user.add(user)
def default_notification ( instance , ** kw ) : log ( "Firing signal: default_notification" ) if instance . priority >= 5 : return users = approved_users ( ) if not users . count ( ) : return notification = Notification ( ) notification . notifier = instance notification . save ( ) for user in users : notification . user . add ( user )
Given an error see if we need to send a notification
Given an error see if we need to send a notification
""" Given an error see if we need to send a notification """
instance