equal
deleted
inserted
replaced
386 warnings.warn( |
386 warnings.warn( |
387 'the "pyramid" command does not start repository "looping tasks" ' |
387 'the "pyramid" command does not start repository "looping tasks" ' |
388 'anymore; use the standalone "scheduler" command if needed' |
388 'anymore; use the standalone "scheduler" command if needed' |
389 ) |
389 ) |
390 try: |
390 try: |
391 waitress.serve(app, host=host, port=port, url_scheme=url_scheme) |
391 waitress.serve(app, host=host, port=port, url_scheme=url_scheme, |
|
392 clear_untrusted_proxy_headers=True) |
392 finally: |
393 finally: |
393 repo.shutdown() |
394 repo.shutdown() |
394 if self._needreload: |
395 if self._needreload: |
395 return 3 |
396 return 3 |
396 return 0 |
397 return 0 |