##// END OF EJS Templates
hooks: redirect stdout/err/in to the ui descriptors when calling python hooks...
hooks: redirect stdout/err/in to the ui descriptors when calling python hooks We need to make sure that python hooks I/O goes through the ui descriptors so it doesn't mess the command server protocol.

File last commit:

r10648:58128004 stable
r14889:a59058fd stable
Show More
sitecustomize.py
6 lines | 134 B | text/x-python | PythonLexer
try:
import coverage
if hasattr(coverage, 'process_startup'):
coverage.process_startup()
except ImportError:
pass