view service/announce/tasks.py @ 1560:c3d699b5759c

more py3 fixes Ignore-this: f212b4a5edf8e599e9efd70bc65e7651 darcs-hash:d944ca9d7d7b36c2c02529dcf9225a99c0aa1831
author drewp <drewp@bigasterisk.com>
date Fri, 14 Feb 2020 00:33:31 -0800
parents 90e1ef015f09
children
line wrap: on
line source

from invoke import task, Collection

import sys
sys.path.append('/my/proj/release')
from serv_tasks import serv_tasks

ns = Collection()

coll = Collection('announce')
ns.add_collection(coll)
serv_tasks(coll, 'serv.n3', 'announce')

coll = Collection('tts')
ns.add_collection(coll)
serv_tasks(ns, 'serv.n3', 'tts_server')