示例#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)