pcelery_setup(config_uri) worker =WorkerCommand(app=pyramid_celery.celery) worker.execute_from_commandline(argv=argv[1:]) 开发者ID:xflash96,项目名称:pyramid_celery,代码行数:9,代码来源:celeryd.py 示例4: main ▲点赞 1▼ defmain(argv=sys.argv):# pragma: no coveriflen(argv) !=2: usage...