Ejemplo n.º 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()
Ejemplo n.º 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()
Ejemplo n.º 3
0
def process(event):
    notification.notify(event)
Ejemplo n.º 4
0
def process(event):
    notification.notify(event)