view tests/sitecustomize.py @ 20743:05267e6e94dd

help: filter out deprecated options with untranslated descriptions When using a different language than English, deprecated options were only removed from the output of `hg help anycmd` when "DEPRECATED" in the options description was translated.
author Simon Heimberg <simohe@besonet.ch>
date Mon, 17 Feb 2014 07:39:53 +0100
parents 0b21ae0a2366
children 031947baf4d0
line wrap: on
line source

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