MCPcopy Index your code
hub / github.com/pex-tool/pex / shutdown

Function shutdown

testing/devpi.py:251–260  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

249
250
251def shutdown():
252 # type: () -> bool
253
254 pidfile = Pidfile.load()
255 if not pidfile:
256 return False
257
258 logger.info("Killing devpi server {url} @ {pid}".format(url=pidfile.url, pid=pidfile.pid))
259 pidfile.kill()
260 return True

Callers

nothing calls this directly

Calls 3

infoMethod · 0.80
loadMethod · 0.45
killMethod · 0.45

Tested by

no test coverage detected