tests/sitecustomize.py
author Pierre-Yves David <pierre-yves.david@fb.com>
Wed, 26 Nov 2014 23:23:33 -0800
changeset 23499 b46876c94a93
parent 14971 0b21ae0a2366
child 24505 031947baf4d0
permissions -rw-r--r--
obsstore: cache size computation for fm1 node We have two different types of node type (sha1 and sha256, only sha1 is used now) and therefor different sizes for them. We now compute the value once instead of redoing the computation every loop. This has no visible performance impact.

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