tests/sitecustomize.py
author Jesse Glick <jesse.glick@oracle.com>
Fri, 04 May 2012 15:56:45 -0400
changeset 16646 a1dcd842ce17
parent 14971 0b21ae0a2366
child 24505 031947baf4d0
permissions -rw-r--r--
localrepo: optimize internode status calls using withflags Introduce manifestdict.withflags() to get a set of all files which have any flags set, since these are likely to be a minority. Otherwise checking .flags() for every file is a lot of dictionary lookups and is quite slow.

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