示例#1
0
文件: run.py 项目: opedev/opendevelop
 def handle(self, *args, **options):
     """
     This function prepares the options for running the service
     and if needed delegates the whole procedure to `runserver`
     """
     runserver = Runserver()
     runserver.stdout = sys.stdout
     runserver.handle('0.0.0.0:8000', *args, **options)