예제 #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()
예제 #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()
예제 #3
0
def process(event):
    notification.notify(event)
예제 #4
0
파일: __init__.py 프로젝트: dwt/adhocracy
def process(event):
    notification.notify(event)