tests/sitecustomize.py
author Joshua Redstone <joshua.redstone@fb.com>
Mon, 18 Jun 2012 08:06:42 -0700
changeset 17094 c2016bae3b97
parent 14971 0b21ae0a2366
child 24505 031947baf4d0
permissions -rw-r--r--
dirstate: factor common update code into _addpath Factor update code common to all callers of _addpath into _addpath. By centralizing the update code here, it provides one place to put updates to new data structures - in a future patch. It also removes a few lines of duplicate code.

try:
    import coverage
    getattr(coverage, 'process_startup', lambda: None)()
except ImportError:
    pass