Beispiel #1
0
def main():
    args = parse_args()
    load_config(args.conf_file)
    all_events = meta.Session.query(Event).all()

    for event in all_events:
        notify(event, database_only=True)

    meta.Session.commit()
Beispiel #2
0
def main():
    args = parse_args()
    load_config(args.conf_file)
    all_events = meta.Session.query(Event).all()

    for event in all_events:
        notify(event, database_only=True)

    meta.Session.commit()
Beispiel #3
0
def process(event):
    notification.notify(event)
Beispiel #4
0
def process(event):
    notification.notify(event)